Skip to content

Commit

Permalink
Add cargo-publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 committed Oct 5, 2019
1 parent be54fff commit 40ded02
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 28 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/cpal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all --all-features

cargo-publish:

if: github.event_name == 'push' && github.ref == 'refs/heads/master'

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Run cargo publish
env:
MANIFEST: alsa-sys/Cargo.toml
CRATESIO_TOKEN: ${{ secrets.CRATESIO_TOKEN }}
run: |
cargo publish --token $CRATESIO_TOKEN --manifest-path $MANIFEST
cargo publish --token $CRATESIO_TOKEN
ubuntu-test:

runs-on: ubuntu-latest
Expand Down
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

0 comments on commit 40ded02

Please sign in to comment.