Skip to content

Commit

Permalink
first release
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Jan 5, 2025
1 parent abc5aa3 commit 7201f11
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,46 @@ jobs:
with:
name: ${{ matrix.name }}
path: target/release/${{ matrix.exe }}

release:
name: Release
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs:
- build
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download Linux x64
uses: actions/download-artifact@v4
with:
name: linux-x64
path: release

- name: Zip Linux x64
run: |
cd release && zip linux-x64.zip pallas
- name: Rename Linux x64
run: |
cd release && mv pallas linux-x64
- name: Download Windows x64
uses: actions/download-artifact@v4
with:
name: windows-x64
path: release

- name: Zip Windows x64
run: |
cd release && zip windows-x64.zip pallas.exe && rm pallas.exe
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
release/*
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7201f11

Please sign in to comment.