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:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
|
|
@ -38,7 +38,8 @@ jobs:
|
|||
./gradlew assemblerelease
|
||||
|
||||
- name: Save apk artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: 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
|
||||
env: { LANG: "C.UTF-8" }
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Install deps
|
||||
run: |
|
||||
|
|
@ -44,13 +44,15 @@ jobs:
|
|||
CXX: clang++-16
|
||||
|
||||
- name: Upload output as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: Principia-x86_64.AppImage
|
||||
path: build/Principia-x86_64.AppImage
|
||||
archive: false
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Upload debug symbols as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: linux-appimage-dbgsym
|
||||
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:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Install deps
|
||||
run: |
|
||||
|
|
@ -34,7 +34,8 @@ jobs:
|
|||
ninja -j4
|
||||
|
||||
- name: Upload output as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: screenshotter_artifact
|
||||
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:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Install deps
|
||||
run: |
|
||||
|
|
@ -47,7 +47,8 @@ jobs:
|
|||
ninja package
|
||||
|
||||
- name: Upload output as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: principia-macos
|
||||
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
|
||||
env: { LANG: "C.UTF-8" }
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Install deps
|
||||
run: |
|
||||
|
|
@ -40,7 +40,8 @@ jobs:
|
|||
DESTDIR=../web ninja install
|
||||
|
||||
- name: Save apk artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: principia-wasm
|
||||
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:
|
||||
shell: msys2 {0}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
|
|
@ -62,13 +62,15 @@ jobs:
|
|||
../packaging/windows_portable.sh
|
||||
|
||||
- name: Upload output as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: principia-setup.exe
|
||||
path: build/principia-setup.exe
|
||||
archive: false
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Upload output as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: 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