Skip to content

Commit

Permalink
add GH action to add the binary new releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jecaro committed Jul 19, 2023
1 parent 1f0d902 commit e265caa
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit e265caa

Please sign in to comment.