wl-screenrec is publishing its crates #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish-crates | |
run-name: wl-screenrec is publishing its crates | |
on: | |
release: | |
types: [ published ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
publish: | |
name: Publish wl-screenrec | |
runs-on: ubuntu-latest | |
container: | |
image: archlinux:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install system deps | |
run: pacman --noconfirm -Syu ffmpeg rustup gcc clang pkgconf | |
- name: Install rust | |
run: rustup install stable | |
- name: Publish wl-screenrec to crates.io | |
run: cargo publish --manifest-path ./Cargo.toml --token ${CRATES_TOKEN} | |
env: | |
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} | |