Skip to content

Commit

Permalink
Update artifacts action v2 -> v4 (#62)
Browse files Browse the repository at this point in the history
* Update artifacts action

* Update ci-vanilla.yml
  • Loading branch information
geekzter authored Sep 15, 2024
1 parent b431f33 commit 9ea9d21
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-scripted-strategy.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
],
"include": [
{
"name": "a",
"compatible": "backward",
"azure_cli_version": "latest",
"destroy": true,
Expand All @@ -18,6 +19,7 @@
"upgrade_azure_cli": false
},
{
"name": "b",
"compatible": "forward",
"azure_cli_version": "latest",
"destroy": true,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-scripted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,10 @@ jobs:
continue-on-error: ${{ matrix.ignore_destroy_failure }}

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ matrix.terraform_apply }}
with:
name: terraform
name: terraform${{ matrix.name }}
path: 'terraform'

- name: Teardown
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-vanilla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
dotnet test --no-build --verbosity normal
popd
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ env.FUNCTIONS_ARTIFACT_NAME }}
path: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/bin/publish'
Expand All @@ -76,7 +76,7 @@ jobs:
uses: actions/checkout@v2

- name: Download artifacts from previous job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ env.FUNCTIONS_ARTIFACT_NAME }}
path: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/bin/publish'
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
shell: pwsh

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: terraform
path: 'terraform'
Expand Down

0 comments on commit 9ea9d21

Please sign in to comment.