From 5e6d1359c75bfc6e75d89b3c51925a71eb76c8b3 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Sun, 29 Sep 2024 15:15:43 -0500 Subject: [PATCH] try simpler release workflow --- .github/workflows/release-linux.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release-linux.yaml diff --git a/.github/workflows/release-linux.yaml b/.github/workflows/release-linux.yaml new file mode 100644 index 0000000..701abd6 --- /dev/null +++ b/.github/workflows/release-linux.yaml @@ -0,0 +1,24 @@ +name: "release go binaries for linux/amd64" + +on: + release: + types: [created] + +permissions: + contents: write + packages: write + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: wangyoucao577/go-release-action@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: amd64 + goversion: "1.23.1" + project_path: "./cmd/sendosc" + binary_name: "sendosc"