Skip to content

Commit

Permalink
Update the Go version to 1.22 in the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
misraved committed Sep 13, 2024
1 parent e7febdd commit 84b9d84
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/registry-publish-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
go-version: 1.22

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/registry-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version: 1.22

- name: Get latest version tag
run: |-
Expand Down Expand Up @@ -78,28 +78,28 @@ jobs:
run: ls -laR ./dist

- name: Save Linux Build Artifact - AMD64
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: steampipe-${{ env.PLUGIN_NAME }}_linux_amd64
path: ./dist/steampipe-plugin-${{ env.PLUGIN_NAME }}_linux_amd64.gz
if-no-files-found: error

- name: Save Linux Build Artifact - ARM64
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: steampipe-${{ env.PLUGIN_NAME }}_linux_arm64
path: ./dist/steampipe-plugin-${{ env.PLUGIN_NAME }}_linux_arm64.gz
if-no-files-found: error

- name: Save MacOS Build Artifact - AMD64
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: steampipe-${{ env.PLUGIN_NAME }}_darwin_amd64
path: ./dist/steampipe-plugin-${{ env.PLUGIN_NAME }}_darwin_amd64.gz
if-no-files-found: error

- name: Save MacOS Build Artifact - ARM64
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: steampipe-${{ env.PLUGIN_NAME }}_darwin_arm64
path: ./dist/steampipe-plugin-${{ env.PLUGIN_NAME }}_darwin_arm64.gz
Expand Down Expand Up @@ -144,22 +144,22 @@ jobs:
oras version
- name: Download linux-amd64 artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: steampipe-${{ env.PLUGIN_NAME }}_linux_amd64

- name: Download linux_arm64 artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: steampipe-${{ env.PLUGIN_NAME }}_linux_arm64

- name: Download darwin_amd64 artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: steampipe-${{ env.PLUGIN_NAME }}_darwin_amd64

- name: Download darwin_arm64 artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: steampipe-${{ env.PLUGIN_NAME }}_darwin_arm64

Expand Down

0 comments on commit 84b9d84

Please sign in to comment.