Тестирование новых сборок
This commit is contained in:
@@ -16,15 +16,6 @@ jobs:
|
||||
- platform: ubuntu-latest
|
||||
output_dir_one: src-tauri/target/release/bundle/appimage/**.AppImage
|
||||
output_dir_two: src-tauri/target/release/bundle/deb/**.deb
|
||||
args: x86_64-unknown-linux-gnux32
|
||||
- platform: ubuntu-latest
|
||||
output_dir_one: src-tauri/target/release/bundle/appimage/**.AppImage
|
||||
output_dir_two: src-tauri/target/release/bundle/deb/**.deb
|
||||
args: x86_64-unknown-linux-musl
|
||||
- platform: ubuntu-latest
|
||||
output_dir_one: src-tauri/target/release/bundle/appimage/**.AppImage
|
||||
output_dir_two: src-tauri/target/release/bundle/deb/**.deb
|
||||
args: x86_64-unknown-linux-ohos
|
||||
- platform: windows-latest
|
||||
output_dir_one: src-tauri/target/release/bundle/msi/**.msi
|
||||
output_dir_two: src-tauri/target/release/bundle/nsis/**.exe
|
||||
@@ -46,17 +37,14 @@ jobs:
|
||||
lfs: true
|
||||
token: ${{secrets.RELEASE_TOKEN}}
|
||||
- name: install Rust stable
|
||||
shell: bash
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: ${{ matrix.platform == 'ubuntu-latest' && 'x86_64-unknown-linux-gnux32,x86_64-unknown-linux-musl,x86_64-unknown-linux-ohos' || '' }}
|
||||
targets: ${{ matrix.args }}
|
||||
- name: Install Ubuntu dependencies
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
run: |
|
||||
rustup toolchain install ${{ matrix.args }}
|
||||
rustup default ${{ matrix.args }}
|
||||
sudo apt update
|
||||
sudo apt-get install libgtk-3-dev cmake libglvnd-dev -y
|
||||
sudo apt-get install cmake libglvnd-dev -y
|
||||
sudo apt install libwebkit2gtk-4.0-dev \
|
||||
build-essential \
|
||||
curl \
|
||||
@@ -77,7 +65,11 @@ jobs:
|
||||
releaseName: ${{ env.APP_NAME }} v__VERSION__
|
||||
releaseDraft: true
|
||||
prerelease: false
|
||||
args: --target ${{ matrix.args }}
|
||||
#args: --target ${{ matrix.args }}
|
||||
- name: Search files
|
||||
run:
|
||||
ls src-tauri/
|
||||
find . -type f -name "*.bin"
|
||||
- name: Publish Tauri App
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user