Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
env:
CARGO_TERM_COLOR: always

permissions:
contents: write

jobs:
build-windows:
name: Build Windows Release
Expand Down Expand Up @@ -45,9 +48,10 @@ jobs:
Compress-Archive -Path $outDir -DestinationPath "$outDir.zip" -Force
Write-Host "Created $outDir.zip"
- name: Upload to GitHub Release
uses: softprops/action-gh-release@v1
with:
files: devbase-*-windows-x64.zip
generate_release_notes: true
shell: powershell
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
$version = "${{ github.ref_name }}"
$archive = "devbase-$version-windows-x64.zip"
gh release create $version $archive --generate-notes --repo ${{ github.repository }}
Loading