Projects STRLCPY scorecard Commits c20ed9e8
🤬
  • 🌱 Update .github/workflows/goreleaser.yaml (#2755)

    - Update `goreleaser/goreleaser-action` to `v2.5.0`
    - Remove GPG key import step and `GPG_FINGERPRINT` from environment variables
    - Move `version_flags` to `GITHUB_OUTPUT`
    
    [.github/workflows/goreleaser.yaml]
    - Remove GPG key import step
    - Update `goreleaser/goreleaser-action` to `v2.5.0`
    - Remove `GPG_FINGERPRINT` from environment variables
    - Move `version_flags` to `GITHUB_OUTPUT`
    
    Signed-off-by: naveensrinivasan <[email protected]>
  • Loading...
  • Naveen committed with GitHub 1 year ago
    c20ed9e8
    1 parent 0b45c903
  • ■ ■ ■ ■ ■ ■
    .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
Please wait...
Page is in error, reload to recover