Skip to content

Commit

Permalink
chore: add workflow to create release drafts
Browse files Browse the repository at this point in the history
  • Loading branch information
pcvolkmer committed Jun 7, 2024
1 parent 2b94618 commit 895bf86
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Create release and upload assets

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --verbose
- run: rustup target add x86_64-pc-windows-gnu
- run: make package-all
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
draft: 'true'
make_latest: 'true'
generate_release_notes: 'true'
files: |
*linux.tar.gz
*win64.zip

0 comments on commit 895bf86

Please sign in to comment.