mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 07:34:36 +01:00
Update actions versions
This commit is contained in:
25
.github/workflows/build.yml
vendored
25
.github/workflows/build.yml
vendored
@@ -44,13 +44,12 @@ jobs:
|
|||||||
dest: Cultivation.zip
|
dest: Cultivation.zip
|
||||||
|
|
||||||
- name: Upload build
|
- name: Upload build
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: CultivationWin
|
name: CultivationWin
|
||||||
path: Cultivation.zip
|
path: Cultivation.zip
|
||||||
|
|
||||||
build-ubuntu:
|
build-ubuntu:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -66,20 +65,30 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
|
||||||
- name: Install libraries
|
- name: Install libraries
|
||||||
run: sudo apt install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install libwebkit2gtk-4.1-dev \
|
||||||
|
build-essential \
|
||||||
|
curl \
|
||||||
|
wget \
|
||||||
|
file \
|
||||||
|
libxdo-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libayatana-appindicator3-dev \
|
||||||
|
librsvg2-dev
|
||||||
|
|
||||||
- name: Install deps and build
|
- name: Install deps and build release
|
||||||
run: yarn && yarn build --debug
|
run: yarn && yarn build
|
||||||
|
|
||||||
- name: Compress build
|
- name: Compress build
|
||||||
uses: vimtor/action-zip@v1
|
uses: vimtor/action-zip@v1
|
||||||
with:
|
with:
|
||||||
files: src-tauri/target/debug/lang/ src-tauri/target/debug/keys/ src-tauri/target/debug/patch/ src-tauri/target/debug/cultivation
|
files: src-tauri/target/release/lang/ src-tauri/target/release/keys/ src-tauri/target/release/patch/ src-tauri/target/release/cultivation src-tauri/target/release/bundle/
|
||||||
recursive: true
|
recursive: true
|
||||||
dest: Cultivation.zip
|
dest: Cultivation.zip
|
||||||
|
|
||||||
- name: Upload build
|
- name: Upload build
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: CultivationLinux
|
name: CultivationLinux
|
||||||
path: Cultivation.zip
|
path: Cultivation.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user