From 918a40553dcc6eb6b4ac07659948518c0788bdee Mon Sep 17 00:00:00 2001 From: jecaro Date: Wed, 19 Jul 2023 11:58:09 +0200 Subject: [PATCH] add GH action to add the binary new releases --- .github/workflows/release.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..62583f7 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,30 @@ +name: Release + +permissions: + contents: write + +on: + push: + tags: + - v* + +jobs: + create-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: taiki-e/create-gh-release-action@v1 + with: + draft: true + token: ${{ secrets.GITHUB_TOKEN }} + + upload-assets: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: taiki-e/upload-rust-binary-action@v1 + with: + bin: mprisqueeze + target: x86_64-unknown-linux-musl + include: LICENSE,README.md + token: ${{ secrets.GITHUB_TOKEN }}