forked from mirrors/principia
Bump GitHub Actions action versions
Also use new `archive: false` for artifact uploading where appropriate to prevent nested zips from happening
This commit is contained in:
parent
e7a5b860c3
commit
4eee1846ff
6 changed files with 28 additions and 20 deletions
9
.github/workflows/android.yml
vendored
9
.github/workflows/android.yml
vendored
|
|
@ -24,10 +24,10 @@ jobs:
|
||||||
android:
|
android:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
|
|
@ -38,7 +38,8 @@ jobs:
|
||||||
./gradlew assemblerelease
|
./gradlew assemblerelease
|
||||||
|
|
||||||
- name: Save apk artifact
|
- name: Save apk artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: principia-release-unsigned.apk
|
|
||||||
path: android/principia/build/outputs/apk/release/principia-release-unsigned.apk
|
path: android/principia/build/outputs/apk/release/principia-release-unsigned.apk
|
||||||
|
archive: false
|
||||||
|
if-no-files-found: error
|
||||||
|
|
|
||||||
10
.github/workflows/linux.yml
vendored
10
.github/workflows/linux.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
image: debian:bullseye
|
image: debian:bullseye
|
||||||
env: { LANG: "C.UTF-8" }
|
env: { LANG: "C.UTF-8" }
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -44,13 +44,15 @@ jobs:
|
||||||
CXX: clang++-16
|
CXX: clang++-16
|
||||||
|
|
||||||
- name: Upload output as artifact
|
- name: Upload output as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: Principia-x86_64.AppImage
|
|
||||||
path: build/Principia-x86_64.AppImage
|
path: build/Principia-x86_64.AppImage
|
||||||
|
archive: false
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload debug symbols as artifact
|
- name: Upload debug symbols as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: linux-appimage-dbgsym
|
name: linux-appimage-dbgsym
|
||||||
path: build/principia.debug
|
path: build/principia.debug
|
||||||
|
if-no-files-found: error
|
||||||
|
|
|
||||||
5
.github/workflows/linux_ss.yml
vendored
5
.github/workflows/linux_ss.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
linux_ss:
|
linux_ss:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -34,7 +34,8 @@ jobs:
|
||||||
ninja -j4
|
ninja -j4
|
||||||
|
|
||||||
- name: Upload output as artifact
|
- name: Upload output as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: screenshotter_artifact
|
name: screenshotter_artifact
|
||||||
path: build/principia
|
path: build/principia
|
||||||
|
if-no-files-found: error
|
||||||
|
|
|
||||||
7
.github/workflows/macos.yml
vendored
7
.github/workflows/macos.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
macos:
|
macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -47,7 +47,8 @@ jobs:
|
||||||
ninja package
|
ninja package
|
||||||
|
|
||||||
- name: Upload output as artifact
|
- name: Upload output as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: principia-macos
|
|
||||||
path: build/*.zip
|
path: build/*.zip
|
||||||
|
archive: false
|
||||||
|
if-no-files-found: error
|
||||||
|
|
|
||||||
5
.github/workflows/web.yml
vendored
5
.github/workflows/web.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
image: emscripten/emsdk:latest
|
image: emscripten/emsdk:latest
|
||||||
env: { LANG: "C.UTF-8" }
|
env: { LANG: "C.UTF-8" }
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -40,7 +40,8 @@ jobs:
|
||||||
DESTDIR=../web ninja install
|
DESTDIR=../web ninja install
|
||||||
|
|
||||||
- name: Save apk artifact
|
- name: Save apk artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: principia-wasm
|
name: principia-wasm
|
||||||
path: web/
|
path: web/
|
||||||
|
if-no-files-found: error
|
||||||
|
|
|
||||||
12
.github/workflows/windows.yml
vendored
12
.github/workflows/windows.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
run:
|
run:
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: msys2/setup-msys2@v2
|
- uses: msys2/setup-msys2@v2
|
||||||
with:
|
with:
|
||||||
|
|
@ -62,13 +62,15 @@ jobs:
|
||||||
../packaging/windows_portable.sh
|
../packaging/windows_portable.sh
|
||||||
|
|
||||||
- name: Upload output as artifact
|
- name: Upload output as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: principia-setup.exe
|
|
||||||
path: build/principia-setup.exe
|
path: build/principia-setup.exe
|
||||||
|
archive: false
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload output as artifact
|
- name: Upload output as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: principia-portable.7z
|
|
||||||
path: build/principia-portable.7z
|
path: build/principia-portable.7z
|
||||||
|
archive: false
|
||||||
|
if-no-files-found: error
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue