diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml new file mode 100644 index 0000000..9b6feb6 --- /dev/null +++ b/.github/workflows/Release.yml @@ -0,0 +1,21 @@ +name: Release + +on: + push: + tags: + - '*.*.*' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Build + run: cargo build --release + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: target/release/afdian-list-printer + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}