Skip to content

Commit

Permalink
Uncomment publish to crates.io task.
Browse files Browse the repository at this point in the history
  • Loading branch information
bladecoder committed Nov 27, 2023
1 parent 05d5c61 commit 11b712d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ jobs:
GITHUB_TOKEN: ${{ github.TOKEN }}
shell: bash

# publish:
# name: Publish packages in crates.io
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Set up Rust
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# override: true
# - name: Publish
# run: |
# cargo publish -p bladeink --token ${CRATES_TOKEN}
# cargo publish -p binkplayer --token ${CRATES_TOKEN}
# env:
# CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
publish:
name: Publish packages in crates.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Publish
run: |
cargo publish -p bladeink --token ${CRATES_TOKEN}
cargo publish -p binkplayer --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

0 comments on commit 11b712d

Please sign in to comment.