Skip to content

Commit

Permalink
HCPCP-1615: upgrade hashicorp owned actions (#96)
Browse files Browse the repository at this point in the history
* chore: upgrade actons-set-product-version to v2

* chore: upgrade actions-go-build to v1

* chore: upgrade actions-docker-build to v2
  • Loading branch information
Tyler Wendlandt authored May 24, 2024
1 parent 0d81750 commit 3a304cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Set Product version
id: set-product-version
uses: hashicorp/actions-set-product-version@v1
uses: hashicorp/actions-set-product-version@v2

generate-metadata-file:
needs: set-product-version
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- uses: hashicorp/actions-go-build@v0.1.7
- uses: hashicorp/actions-go-build@v1
env:
BASE_VERSION: ${{ needs.set-product-version.outputs.product-base-version }}
PRERELEASE_VERSION: ${{ needs.set-product-version.outputs.product-prerelease-version}}
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Docker Build (Action)
uses: hashicorp/actions-docker-build@v1
uses: hashicorp/actions-docker-build@v2
with:
smoke_test: |
TEST_VERSION="$(docker run "${IMAGE_NAME}" hcp version | awk '/hcp v/{print $2}')"
Expand Down

0 comments on commit 3a304cc

Please sign in to comment.