diff --git a/.github/workflows/registry-publish-ghcr.yml b/.github/workflows/registry-publish-ghcr.yml index 0065caa22..0254e756c 100644 --- a/.github/workflows/registry-publish-ghcr.yml +++ b/.github/workflows/registry-publish-ghcr.yml @@ -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 diff --git a/.github/workflows/registry-publish.yml b/.github/workflows/registry-publish.yml index 6f20b5615..442f6d384 100644 --- a/.github/workflows/registry-publish.yml +++ b/.github/workflows/registry-publish.yml @@ -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: |- @@ -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 @@ -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