diff --git a/.github/workflows/amd64-release.yml b/.github/workflows/amd64-release.yml deleted file mode 100644 index 95976dc..0000000 --- a/.github/workflows/amd64-release.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: ghcr-push - -on: - release: - types: [created] - -jobs: - release-linux-amd64: - name: release linux/amd64 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: wangyoucao577/go-release-action@v1.34 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - goos: linux - goarch: amd64 \ No newline at end of file diff --git a/.github/workflows/arm-release.yml b/.github/workflows/arm-release.yml deleted file mode 100644 index 24a03f5..0000000 --- a/.github/workflows/arm-release.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: ghcr-push - -on: - release: - types: [created] - -jobs: - release-linux-arm: - name: release linux/arm - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: wangyoucao577/go-release-action@v1.34 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - goos: linux - goarch: arm \ No newline at end of file diff --git a/.github/workflows/arm64-release.yml b/.github/workflows/arm64-release.yml deleted file mode 100644 index b42fa0b..0000000 --- a/.github/workflows/arm64-release.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: ghcr-push - -on: - release: - types: [created] - -jobs: - release-linux-arm64: - name: release linux/arm64 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: wangyoucao577/go-release-action@v1.34 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - goos: linux - goarch: arm64 \ No newline at end of file diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml new file mode 100644 index 0000000..dd36e62 --- /dev/null +++ b/.github/workflows/build-binaries.yml @@ -0,0 +1,47 @@ +name: build-binaries + +on: + release: + types: [created] + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1.34 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: amd64 + release-linux-arm: + name: release linux/arm + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1.34 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: arm + release-linux-arm64: + name: release linux/arm64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1.34 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: arm64 + release-linux-windows: + name: release windows + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1.34 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: windows + goarch: amd64 \ No newline at end of file diff --git a/.github/workflows/windows-release.yml b/.github/workflows/windows-release.yml deleted file mode 100644 index 156a843..0000000 --- a/.github/workflows/windows-release.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: ghcr-push - -on: - release: - types: [created] - -jobs: - release-linux-windows: - name: release windows - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: wangyoucao577/go-release-action@v1.34 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - goos: windows - goarch: amd64 \ No newline at end of file