Skip to content

Commit

Permalink
Merge pull request #1773 from plenarius/bump-down-up-artifact
Browse files Browse the repository at this point in the history
build: bump download and upload-artifact due to deprecation
  • Loading branch information
plenarius authored Sep 13, 2024
2 parents bdf564b + 0c0371f commit 0880a3b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,21 +118,21 @@ jobs:
run: zip -j ./NWScript.zip `find . -name "*.nss" | grep -Pv '_t+[0-9]{0,1}.nss'`

- name: Upload Binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: github.event_name == 'push'
with:
path: ./NWNX-EE.zip
name: NWNX-EE.zip

- name: Upload Scripts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: github.event_name == 'push'
with:
path: ./NWScript.zip
name: NWScript.zip

- name: Upload Tar Binaries for Docker
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: github.event_name == 'push'
with:
name: NWNX-EE.tar
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
echo "nwn_build_postfix=$(grep 'set(TARGET_NWN_BUILD_POSTFIX ' CMakeLists.txt | cut -d' ' -f2 | sed 's/)//')" >> $GITHUB_OUTPUT
- name: Download Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: NWNX-EE.tar

Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
run: |
echo "${{ steps.create_release.outputs.upload_url }}" > ./upload_url
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./upload_url
name: upload_url
Expand All @@ -280,19 +280,19 @@ jobs:

steps:
- name: Download Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: NWNX-EE.zip
path: ./

- name: Download Scripts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: NWScript.zip
path: ./

- name: Download URL
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: upload_url
path: ./
Expand Down

0 comments on commit 0880a3b

Please sign in to comment.