diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab8aca3..be6db4f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ on: - stage - master jobs: - goreleaser: + build: runs-on: ubuntu-latest steps: - @@ -31,21 +31,38 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.16 + # - + # name: Import GPG key + # id: import_gpg + # uses: hashicorp/ghaction-import-gpg@v2.1.0 + # env: + # # These secrets will need to be configured for the repository: + # GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} + # PASSPHRASE: ${{ secrets.PASSPHRASE }} - name: Import GPG key id: import_gpg - uses: hashicorp/ghaction-import-gpg@v2.1.0 + uses: crazy-max/ghaction-import-gpg@v6 env: - # These secrets will need to be configured for the repository: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} PASSPHRASE: ${{ secrets.PASSPHRASE }} - - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2.5.0 - with: - version: latest - args: release --rm-dist - env: - GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} - # GitHub sets this automatically - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # - + # name: Run GoReleaser + # uses: goreleaser/goreleaser-action@v2.5.0 + # with: + # version: latest + # args: release --rm-dist + # env: + # GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} + # # GitHub sets this automatically + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # - + # name: Builder + # uses: wangyoucao577/go-release-action@v1.33 + # with: + # github_token: ${{ secrets.GH_ASSET_TOKEN }} + # goos: linux + # goarch: amd64 + # project_path: "cmd" + # asset_name: renymize-linux-amd64 + # goversion: 1.19 \ No newline at end of file