Skip to content

Commit

Permalink
Changes to the GitHub Actions workflow files
Browse files Browse the repository at this point in the history
- Use Java 17 when running Gradle for Android on the GitHub runner
- Update GitHub checkout action to version 4
- Fix nCine DMG package conversion on macOS
  • Loading branch information
encelo committed Sep 10, 2023
1 parent 8945796 commit 842a3b4
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

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

- name: 'Unshallow Git Repository for Versioning'
run: |
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: 'Gradle Assemble'
run: |
export JAVA_HOME=$JAVA_HOME_11_X64
export JAVA_HOME=$JAVA_HOME_17_X64
export PROJECT_NAME=${GITHUB_REPOSITORY##*/}
cd ../$PROJECT_NAME-build-${{ matrix.BuildType }}/android
gradle assemble${{ matrix.BuildType }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: 'Checkout Repository'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Initialize CodeQL'
uses: github/codeql-action/init@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

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

- name: 'Install Emscripten SDK'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

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

- name: 'Unshallow Git Repository for Versioning'
if: matrix.BuildType == 'BinDist'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

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

- name: 'Unshallow Git Repository for Versioning'
if: matrix.BuildType == 'BinDist'
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
git checkout $NCINE_BRANCH
NCINE_FILE=$(ls -t | head -n 1)
hdiutil convert *.dmg -format UDTO -o nCine
hdiutil convert nCine-*-Darwin.dmg -format UDTO -o nCine
hdiutil attach -readonly nCine.cdr
cp -Rp /Volumes/nCine-*-Darwin/nCine.app ..
hdiutil detach /Volumes/nCine-*-Darwin;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

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

- name: 'Update MSYS2'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

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

- name: 'Unshallow Git Repository for Versioning'
if: matrix.BuildType == 'BinDist'
Expand Down

0 comments on commit 842a3b4

Please sign in to comment.