Skip to content

Commit

Permalink
fix: Fixed goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
willguibr committed Jul 30, 2024
1 parent 026efd2 commit b90b805
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/[email protected].1
uses: actions/[email protected].7
# - name: Unshallow clone for tags
# run: git fetch --prune --unshallow --tags
- name: Install Go
uses: actions/[email protected]
with:
go-version: ${{env.GOVERSION}}
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@v1.10.0
uses: jaxxstorm/action-install-gh-release@v1.12.0
with:
repo: pulumi/pulumictl
- name: Set PreRelease Version
run: echo "GORELEASER_CURRENT_TAG=v$(pulumictl get version --language generic)" >> $GITHUB_ENV
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5.0.0
uses: goreleaser/goreleaser-action@v6
with:
args: -p 3 release --rm-dist
version: latest
args: release --clean --timeout 60m0s
version: '~> v2'
- name: Create tag
uses: actions/[email protected]
with:
Expand All @@ -82,15 +82,15 @@ jobs:
needs: publish_binary
steps:
- name: Checkout Repo
uses: actions/[email protected].1
uses: actions/[email protected].7
# - name: Unshallow clone for tags
# run: git fetch --prune --unshallow --tags
- name: Install Go
uses: actions/setup-go@v4.1.0
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@v1.10.0
uses: jaxxstorm/action-install-gh-release@v1.12.0
with:
repo: pulumi/pulumictl
- name: Install Pulumi CLI
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
archives:
- id: archive
name_template: '{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}'
Expand Down

0 comments on commit b90b805

Please sign in to comment.