diff --git a/.github/workflows/release-linux.yaml b/.github/workflows/release-linux.yaml deleted file mode 100644 index 701abd6..0000000 --- a/.github/workflows/release-linux.yaml +++ /dev/null @@ -1,24 +0,0 @@ -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" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yml similarity index 95% rename from .github/workflows/release.yaml rename to .github/workflows/release.yml index 8339af5..b363867 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yml @@ -1,9 +1,8 @@ name: "release go binaries for multiple os/arch" on: - push: - tags: - - '*' + release: + types: [created] permissions: contents: write