Skip to content

Commit

Permalink
Upgrade GitHub Actions to use version 3 for checkout and artifact man…
Browse files Browse the repository at this point in the history
…agement
  • Loading branch information
savaughn committed Jan 8, 2025
1 parent 225cdf0 commit f931313
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Dependencies
run: |
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
mkdir -p build/assets
- name: Publish Build Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pokeromtrader-artifacts-linux
path: build/
12 changes: 6 additions & 6 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build_macos_x64:
# if: false # This workflow is disabled
runs-on: macos-latest
runs-on: macos-13
strategy:
matrix:
arch: [x64]
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
steps:
- name: Download Build Artifact
# Download the build artifact from the 'build' job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: "pokeromtrader-artifacts-arm64" # Specify the name of the build artifact

Expand Down Expand Up @@ -150,19 +150,19 @@ jobs:
echo "macOS release bundle created"
- name: Upload macOS Release
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: "pokeromtrader-macos-arm64" # Specify a name for your macOS release
path: build/macos

bundle_macos_x64:
runs-on: macos-latest
runs-on: macos-13
needs: build_macos_x64 # Ensure that the 'build' job is completed before this one starts

steps:
- name: Download Build Artifact
# Download the build artifact from the 'build' job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: "pokeromtrader-artifacts-x64" # Specify the name of the build artifact

Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
echo "macOS release bundle created"
- name: Upload macOS Release
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: "pokeromtrader-macos-x64"
path: build/macos
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
cp assets/pkrom.rc.data build/assets/pkrom.rc.data
- name: Publish Build Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pokeromtrader-artifacts-windows
path: build/

0 comments on commit f931313

Please sign in to comment.