Skip to content

Commit

Permalink
Merge pull request #47 from passbolt/update-ci
Browse files Browse the repository at this point in the history
CI Improvements
  • Loading branch information
speatzle committed Apr 5, 2024
2 parents 774fc8b + 13da79a commit b269e85
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.21
-
Expand All @@ -33,13 +33,25 @@ jobs:
go run main.go gendoc --type man
pwd
ls
-
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: echo "flags=--snapshot" >> $GITHUB_ENV
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
args: release --clean ${{ env.flags }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
-
name: Run Version
run: |
dist/go-passbolt-cli_linux_amd64_v1/passbolt -v
-
uses: actions/upload-artifact@v4
with:
name: go-passbolt-cli-artifacts
path: dist/
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ brews:
license: "MIT"
skip_upload: false
description: "A CLI tool to interact with Passbolt, a Open source Password Manager for Teams"
folder: Formula
directory: Formula
install: |
bin.install "passbolt"
bash_completion.install "completion/bash" => "passbolt"
Expand Down

0 comments on commit b269e85

Please sign in to comment.