From ddc28b7175c1dc34f576590a0f440f7552101de1 Mon Sep 17 00:00:00 2001 From: Son Phan Trung Date: Tue, 15 Oct 2024 02:35:51 +0700 Subject: [PATCH] fix artifact upload in natives.yml (#177) * fix artifact upload * make macos builds work --- .github/workflows/natives.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/natives.yml b/.github/workflows/natives.yml index f8e227365..68c9787c8 100644 --- a/.github/workflows/natives.yml +++ b/.github/workflows/natives.yml @@ -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: | @@ -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: @@ -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: | @@ -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: |