Skip to content

Commit

Permalink
fix artifact upload in natives.yml (#177)
Browse files Browse the repository at this point in the history
* fix artifact upload

* make macos builds work
  • Loading branch information
sonphantrung authored Oct 14, 2024
1 parent c1e3b23 commit ddc28b7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/natives.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
./gradlew extensions:freetype:jnigenBuild
./gradlew backends:backend-sdl:jnigenBuild
- name: Upload natives
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Arc-core desktop natives
path: |
Expand All @@ -35,16 +35,16 @@ jobs:
natives/natives-freetype-desktop/libs/arc-freetype.dll
natives/natives-freetype-desktop/libs/arc-freetype64.dll
- name: Upload Android natives
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Arc-core android natives
path: |
natives/natives-android/libs
natives/natives-freetype-android/libs
buildMac:
runs-on: macos-11
runs-on: macos-13
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
Expand All @@ -61,7 +61,7 @@ jobs:
./gradlew extensions:freetype:jnigenBuild
./gradlew backends:backend-sdl:jnigenBuild
- name: Upload natives
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Arc-core MacOS natives
path: |
Expand All @@ -72,7 +72,7 @@ jobs:
backends/backend-sdl/libs/macosx64/libsdl-arc64.dylib
backends/backend-sdl/libs/macosx64/libsdl-arcarm64.dylib
- name: Upload iOS natives
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Arc-core iOS natives
path: |
Expand Down

0 comments on commit ddc28b7

Please # to comment.