|
|
@ -4,18 +4,18 @@ on: |
|
|
|
types: [published] |
|
|
|
types: [published] |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
publish: |
|
|
|
# publish: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
# runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
# steps: |
|
|
|
- name: Git Checkout |
|
|
|
# - name: Git Checkout |
|
|
|
uses: actions/checkout@v3 |
|
|
|
# uses: actions/checkout@v3 |
|
|
|
- name: Publish to crates.io |
|
|
|
# - name: Publish to crates.io |
|
|
|
uses: actions-rs/cargo@v1 |
|
|
|
# uses: actions-rs/cargo@v1 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
command: publish |
|
|
|
# command: publish |
|
|
|
args: -p boa_engine --token ${CARGO_REGISTRY_TOKEN} |
|
|
|
# args: -p boa_engine --token ${CARGO_REGISTRY_TOKEN} |
|
|
|
env: |
|
|
|
# env: |
|
|
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
|
|
|
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
|
|
|
doc-publish: |
|
|
|
doc-publish: |
|
|
|
needs: publish |
|
|
|
needs: publish |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|