diff options
Diffstat (limited to '.github/workflows/publish.yml')
-rw-r--r-- | .github/workflows/publish.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..b9e3741 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,24 @@ +name: Deploy +on: + push: + tags: + - "*" + +jobs: + # Publish starship to Crates.io + cargo_publish: + name: Publish Cargo Package + runs-on: ubuntu-latest + steps: + - name: Setup | Checkout + uses: actions/checkout@v2 + + - name: Setup | Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + override: true + + - name: Build | Publish + run: cargo publish --token ${{ secrets.CRATES_GITHUB_TOKEN }}
\ No newline at end of file |