diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..29e961d --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: Publish +on: + push: + tags: + - '*' + +jobs: + build: + name: Publish binaries + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build + run: cargo build --release + - name: Upload binaries to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: "{manifest.json,data.json}" + tag: ${{ github.ref }} + overwrite: true + file_glob: true