Enable puzzlefs to be used as a MOUNT_HELPER in the LXC OCI template #330
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 0' # weekly | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
components: clippy, rustfmt | |
- name: install dependencies | |
run: | | |
sudo apt-get install skopeo umoci capnproto | |
- run: make lint check | |
- name: publish | |
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push' | |
run: | | |
cargo publish -p puzzlefs-lib --token ${CRATES_TOKEN} | |
cargo publish -p puzzlefs --token ${CRATES_TOKEN} | |
env: | |
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} |