Skip to content

Commit

Permalink
chore(CI): Update Github Actions versions (endless-sky#9821)
Browse files Browse the repository at this point in the history
  • Loading branch information
tibetiroka authored Feb 17, 2024
1 parent 97c5288 commit 34c6755
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Package Application
run: ./utils/build_appimage.sh build/release
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.OUTPUT }}
path: ${{ env.OUTPUT }}
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
cmake --install build/release
7z a ${{ env.OUTPUT }} "./install/release/*"
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.OUTPUT }}
path: ${{ env.OUTPUT }}
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
cmake --install build/release
7z a ${{ env.OUTPUT }} "./install/release/*"
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.OUTPUT }}
path: ${{ env.OUTPUT }}
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
--pre-release
fi
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ${{ github.workspace }} # This will download all files to e.g `./EndlessSky-win64.zip/EndlessSky-win64.zip`
- name: Add ${{ env.OUTPUT_APPIMAGE }} to release tag
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/cd_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Package Application
run: ./utils/build_appimage.sh build/release
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.OUTPUT }}
path: ${{ env.OUTPUT }}
Expand Down Expand Up @@ -68,12 +68,12 @@ jobs:
cmake --install build/release
7z a ${{ env.OUTPUT }} "./install/release/*"
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.OUTPUT }}
path: ${{ env.OUTPUT }}
- name: Upload Steam Depot
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: steam-win64-depot
path: |
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
ln -s /Applications "${{ env.OUTPUT }}"
hdiutil create -ov -fs HFS+ -format UDZO -imagekey zlib-level=9 -srcfolder "${{ env.OUTPUT }}" "${{ github.workspace }}/${{ env.OUTPUT }}.dmg"
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.OUTPUT }}.dmg
path: ${{ env.OUTPUT }}.dmg
Expand All @@ -137,7 +137,7 @@ jobs:
mkdir depot/
mv "Endless Sky.app/" depot/
- name: Upload Steam Depot
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: steam-macos-depot
path: depot
Expand All @@ -157,7 +157,7 @@ jobs:
- name: Prepare binary
run: cp build/steam-x64/endless-sky .
- name: Upload Steam Depot
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: steam-linux64-depot
path: endless-sky
Expand All @@ -179,7 +179,7 @@ jobs:
with:
show-progress: false
- name: Upload Steam Data Depot
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.data }}
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ jobs:
- name: Run Benchmarks
run: ctest --preset mingw-ci-benchmark
- name: Upload binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binary-windows
path: ./build/ci/Endless Sky.exe
- name: Upload DLLs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: windows-dlls
path: ./build/ci/*.dll
Expand Down Expand Up @@ -191,12 +191,12 @@ jobs:
# Otherwise download the binary from CI.
- name: Download game binary from CI
if: ${{ needs.changed.outputs.game_code == 'true' || needs.changed.outputs.cmake_files == 'true' }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: binary-windows
- name: Download DLLs from CI
if: ${{ needs.changed.outputs.game_code == 'true' || needs.changed.outputs.cmake_files == 'true' }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: windows-dlls
- name: Parse Datafiles
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compute-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
with:
fetch-depth: 2
show-progress: false
- uses: dorny/paths-filter@v2
- uses: dorny/paths-filter@v3
id: filter
with:
filters: .github/path-filters.yml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/projects_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
Expand All @@ -117,7 +117,7 @@ jobs:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/steam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
sudo apt-get install -y --no-install-recommends libosmesa6 mesa-utils
- name: Restore cached Steam Runtime environment
id: cache-runtime
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.runtime }}
Expand All @@ -73,7 +73,7 @@ jobs:
cd steam
docker-compose run test-steam-${{ matrix.arch }}
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binary-steam-${{ matrix.arch }}
path: build/steam-${{ matrix.arch }}/endless-sky

0 comments on commit 34c6755

Please sign in to comment.