Remove alsa-sys publish from github workflow
The `alsa-sys` crate repository has lived [here][1] for quite a while. This commit removes the unnecessary step from the CI workflow now that alsa-sys has finally been removed as of #386. [1]: https://github.com/diwic/alsa-sys
This commit is contained in:
parent
7df5b4e973
commit
38e0408412
|
@ -54,21 +54,6 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- name: Install alsa
|
||||
run: sudo apt-get install libasound2-dev
|
||||
- name: Run cargo publish for alsa-sys
|
||||
continue-on-error: true
|
||||
env:
|
||||
MANIFEST: alsa-sys/Cargo.toml
|
||||
run: |
|
||||
ALSA_TMP=$(mktemp /tmp/alsa-sysXXX.txt) || echo "::error::mktemp error"
|
||||
echo "::set-env name=ALSA_TMP::$ALSA_TMP"
|
||||
cargo publish --token $CRATESIO_TOKEN \
|
||||
--manifest-path $MANIFEST 2> $ALSA_TMP
|
||||
- name: Check if alsa-sys is already published
|
||||
run: |
|
||||
empty=0
|
||||
grep -q '[^[:space:]]' < $ALSA_TMP || empty=1
|
||||
[ $empty -eq 0 ] && cat $ALSA_TMP
|
||||
[ $empty -eq 1 ] || grep -q "is already uploaded" < $ALSA_TMP
|
||||
- name: Run cargo publish for cpal
|
||||
continue-on-error: true
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue