Skip to content

Commit

Permalink
rust toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Nosterx authored Apr 18, 2024
1 parent 616d2f4 commit dbdf976
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ jobs:
outputs:
version: ${{ steps.rustversion.outputs.rustversion }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo check
- run: cargo pkgid
- run: 'echo "$(cargo pkgid | cut -d# -f2)"'
Expand All @@ -29,7 +34,12 @@ jobs:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Build
run: cargo build
- name: Run tests
Expand All @@ -41,12 +51,19 @@ jobs:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
name: Amd64Deb
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: InstallCargoDeb
run: cargo install cargo-deb
- name: BuildDeb
id: debbuild
uses: ebbflow-io/cargo-deb[email protected]
run: cargo deb
- name: Upload Deb Artifact
uses: actions/upload-artifact@v2
with:
name: amd64deb
path: ./target/x86_64-unknown-linux-musl/debian/*
path: ./target/debian/*

0 comments on commit dbdf976

Please sign in to comment.