Skip to content

Commit

Permalink
CI: Automated release
Browse files Browse the repository at this point in the history
  • Loading branch information
06Games committed Dec 31, 2022
1 parent 762ca12 commit 6a9972f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
if [ "${{ matrix.target }}" == "win-x64" ]; then
7z a -tzip "output/${release_name}.zip" "./${release_name}/*"
elif [ "${{ matrix.target }}" == "osx-x64" ]; then
cp -R ./${release_name}/GeneaGrab.app output/
7z a -tzip "output/${release_name}.zip" "./${release_name}/GeneaGrab.app"
else
tar czvf "output/${release_name}.tar.gz" "$release_name"
fi
Expand All @@ -67,5 +67,11 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.target }}
path: GeneaGrab/output/GeneaGrab*

path: GeneaGrab/output/*

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: GeneaGrab/output/*
draft: true

0 comments on commit 6a9972f

Please sign in to comment.