Skip to content

Commit

Permalink
Install gtk in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-Yom committed May 12, 2021
1 parent 2b43f66 commit d67ce60
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
default: true
profile: minimal
components: rust-docs
- name: Install gtk
if: matrix.os == 'ubuntu-latest'
run: sudo apt update && sudo apt install libgtk-3-dev
- name: Build release
run: cargo build --release
- name: Upload release artifact
Expand All @@ -35,19 +38,6 @@ jobs:
files: target/release/${{ matrix.artifact }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release:
name: Publish release on crates.io
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: seanmiddleditch/gha-setup-ninja@master
- name: Install rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
profile: minimal
components: rust-docs
- name: Release (crates.io)
- name: Publish release on crates.io
if: matrix.os == 'windows-latest'
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}

0 comments on commit d67ce60

Please sign in to comment.