■ ■ ■ ■ ■ ■
.github/workflows/goreleaser.yaml
| skipped 46 lines |
47 | 47 | | - name: Configure ldflags |
48 | 48 | | id: ldflags |
49 | 49 | | run: echo "version_flags=$(./scripts/version-ldflags)" >> "$GITHUB_OUTPUT" |
50 | | - | - name: Import GPG key |
51 | | - | id: import_gpg |
52 | | - | uses: crazy-max/ghaction-import-gpg@111c56156bcc6918c056dbef52164cfa583dc549 # v5.2.0 |
53 | | - | with: |
54 | | - | gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} |
55 | | - | passphrase: ${{ secrets.PASSPHRASE }} |
56 | 50 | | - name: Run GoReleaser |
57 | 51 | | id: run-goreleaser |
58 | 52 | | uses: goreleaser/goreleaser-action@8f67e590f2d095516493f017008adc464e63adb1 # v2.5.0 |
| skipped 2 lines |
61 | 55 | | args: release --rm-dist |
62 | 56 | | env: |
63 | 57 | | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
64 | | - | GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} |
65 | 58 | | VERSION_LDFLAGS: ${{ steps.ldflags.outputs.version_flags }} |
66 | 59 | | - name: Generate subject |
67 | 60 | | id: hash |
| skipped 19 lines |