Skip to content

Commit

Permalink
Update to latest artifact commands
Browse files Browse the repository at this point in the history
- v2 was deprecated
  • Loading branch information
CJCombrink committed Dec 5, 2024
1 parent 253aeef commit c8881e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: Write-Output "${{ steps.create_release.outputs.upload_url }}" > ./release_upload_url.txt

- name: Upload release url
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
path: ./release_upload_url.txt
name: release_upload_url.txt
Expand Down Expand Up @@ -361,15 +361,15 @@ jobs:
Write-Output "PLUGIN_ARCHIVE_FULL=${{github.workspace}}/${env:PLUGIN_ARCHIVE_FULL}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
Write-Output "PLUGIN_ARCHIVE_NAME=${env:PLUGIN_ARCHIVE_NAME}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
id: upload_artifact
with:
path: ${{env.PLUGIN_ARCHIVE_FULL}}
name: ${{env.PLUGIN_ARCHIVE_NAME}}

- name: Download release url
if: contains(github.ref, '/tags/v')
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: release_upload_url.txt
path: ./
Expand Down

0 comments on commit c8881e0

Please sign in to comment.