Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,6 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v7

- name: Setup Rust Toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Get release download URL
uses: actions/download-artifact@v8
with:
Expand All @@ -115,10 +108,8 @@ jobs:
run: "sudo apt -y install xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev"

- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release --verbose
run: |
cargo build --release

- name: Strip release binary (macOS or Linux)
if: matrix.os != 'windows-latest'
Expand Down Expand Up @@ -157,7 +148,7 @@ jobs:
- name: Build Debian release (Linux)
if: matrix.os == 'ubuntu-latest'
run: |
cargo install cargo-deb --version 1.30.0 --locked
cargo install cargo-deb
cargo deb
cp ./target/debian/pc_*.deb ./pc_${{ env.RELEASE_VERSION }}_amd64.deb

Expand Down