@@ -30,25 +30,20 @@ jobs:
3030
3131 steps :
3232 - uses : actions/checkout@v3
33- - name : Install Node.js
34- uses : actions/setup-node@v2
33+ - uses : pnpm/action-setup@v2
34+ - uses : actions/setup-node@v3
3535 with :
3636 node-version : " 18"
37- - name : Install Rust
38- uses : dtolnay/rust-toolchain@stable
37+ cache : " pnpm "
38+ - uses : dtolnay/rust-toolchain@stable
3939 - name : Install dependencies (Linux)
4040 if : ${{ matrix.os == 'ubuntu-latest' }}
4141 run : |
4242 sudo apt update
4343 sudo apt install -y libwebkit2gtk-4.0-dev libssl-dev libgtk-3-dev libappindicator3-dev librsvg2-dev
44- - name : Pnpm install
45- run : |
46- corepack enable
47- pnpm install
48- - name : Tauri build
49- run : pnpm tauri build
50- - name : Upload artifact
51- uses : actions/upload-artifact@v3
44+ - run : pnpm install
45+ - run : pnpm tauri build
46+ - uses : actions/upload-artifact@v3
5247 with :
5348 name : ${{ runner.os }} executable
5449 path : src-tauri/target/release/${{ matrix.exe }}
6156 if : ${{ github.ref_type == 'tag' }}
6257 uses : softprops/action-gh-release@v1
6358 with :
59+ # https://github.com/softprops/action-gh-release/issues/280#issuecomment-1377056946
60+ # Assuming cwd is ${{ github.workspace }}
6461 files : |
65- ${{ github.workspace }} /src-tauri/target/release/bundle/${{ matrix.bundle }}
66- ${{ github.workspace }} /src-tauri/target/vscch*.7z
62+ . /src-tauri/target/release/bundle/${{ matrix.bundle }}
63+ . /src-tauri/target/vscch*.7z
6764 draft : true
0 commit comments