diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..3fe4632 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,27 @@ +name: packer build + +on: + workflow_dispatch: + push: + branches: + - master + +jobs: + publish-package: + runs-on: ubuntu-latest + name: Publish Crate + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Cache + uses: Swatinem/rust-cache@v2 + + - name: Cargo Bump & Publish + run: | + cargo install cargo-bump + cargo bump + git add . && git commit -m "bump version" && git push + cargo publish + + \ No newline at end of file