This commit is contained in:
Johannes Winkler 2026-03-16 18:24:09 +05:30 committed by GitHub
commit 80a543a0a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,6 +41,27 @@ jobs:
- name: Compile
run: make -j8
# New steps to package and release the Linux build
- name: Prep Release Directory
if: startsWith(github.ref, 'refs/tags/')
run: |
mkdir porymap-linux-${{ github.ref_name }}
cp porymap porymap-linux-${{ github.ref_name }}/porymap
cp RELEASE-README.txt porymap-linux-${{ github.ref_name }}/README.txt
- name: Bundle Release Directory
if: startsWith(github.ref, 'refs/tags/')
run: zip -r porymap-linux-${{ github.ref_name }}.zip porymap-linux-${{ github.ref_name }}
- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: porymap-linux-${{ github.ref_name }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-macos:
strategy:
matrix: