Skip to content

Commit

Permalink
👷 Create publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanTsune committed Jun 26, 2024
1 parent 35c189f commit 6861821
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish Rust crate

on:
push:
tags:
- '*'

concurrency:
group: "publish"
cancel-in-progress: false

jobs:
publish:
name: Publish crate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/setup-rust
- name: install dependencies
run: |
sudo apt update
sudo apt install -y fuse3 libfuse3-dev
- name: Publish pnafs crate
run: cargo publish -p pnafs
working-directory: .
env:
CARGO_REGISTRY_TOKEN: "${{ secrets.CRATES_IO_API_KEY }}"

0 comments on commit 6861821

Please sign in to comment.