mirror of https://github.com/boa-dev/boa.git
1 changed files with 17 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||||
|
name: Publish Release |
||||||
|
on: |
||||||
|
release: |
||||||
|
types: [published] |
||||||
|
|
||||||
|
jobs: |
||||||
|
publish: |
||||||
|
runs-on: ubuntu-latest |
||||||
|
env: |
||||||
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
||||||
|
steps: |
||||||
|
- name: Git Checkout |
||||||
|
uses: actions/checkout@v2 |
||||||
|
with: |
||||||
|
ref: ${{ github.sha }} |
||||||
|
- run: cargo login ${CARGO_REGISTRY_TOKEN} |
||||||
|
- run: cargo publish |
Loading…
Reference in new issue