From e265caae039dd9d0c8eb0bb8d17c4c162bd20f9f 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 | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 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..0f78da5 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,31 @@ +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 + leading_dir: true + token: ${{ secrets.GITHUB_TOKEN }}