Skip to content

Commit

Permalink
GitHub Actions: Updated upload/download-artifact versions
Browse files Browse the repository at this point in the history
Avoids warnings and should be significantly faster.
  • Loading branch information
bjorn committed Feb 16, 2024
1 parent 5cbdded commit 9d0165f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
docs-folder: "docs/"

- name: Upload documentation
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Tiled-Manual-HTML
path: docs/_build/html/
2 changes: 1 addition & 1 deletion .github/workflows/macos-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
popd
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Tiled.app
path: Tiled-*-macos.zip
12 changes: 6 additions & 6 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
./linuxdeploy-x86_64.AppImage --appdir AppDir --custom-apprun=dist/linux/AppRun --exclude-library "*libpython3*" --output appimage
- name: Upload Tiled.AppImage
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Tiled-Qt${{ matrix.qt_version_major }}-x86_64.AppImage
path: Tiled-Qt${{ matrix.qt_version_major }}-x86_64.AppImage
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
uses: snapcore/action-build@v1

- name: Upload snap artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tiled_amd64.snap
path: tiled_*_amd64.snap
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
ditto -c -k --sequesterRsrc --keepParent install/Tiled.app Tiled_macOS-${{ matrix.version_suffix }}.zip
- name: Upload Tiled.app
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Tiled_macOS-${{ matrix.version_suffix }}.app
path: Tiled_macOS-${{ matrix.version_suffix }}.zip
Expand Down Expand Up @@ -337,13 +337,13 @@ jobs:
mv release/installer*/Tiled-*.msi .
- name: Upload Tiled installer
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Tiled-win${{ matrix.arch }}.msi
path: Tiled-*.msi

- name: Upload Tiled archive
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Tiled-win${{ matrix.arch }}
path: release/install-root/*
Expand All @@ -369,7 +369,7 @@ jobs:
prerelease: false

- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Upload Windows 64-bit installer
uses: actions/upload-release-asset@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-to-itch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
steps:
- name: Download artifact
id: download
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.artifact }}
path: upload
Expand Down

0 comments on commit 9d0165f

Please sign in to comment.