Skip to content

Commit

Permalink
all build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerboa-app committed Oct 23, 2024
1 parent 71eb4f1 commit 343d0c2
Showing 1 changed file with 30 additions and 14 deletions.
44 changes: 30 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -368,24 +368,35 @@ jobs:
with:
name: linux-x86_64

# - name: get windows build
# uses: actions/download-artifact@v4
# with:
# name: windows
- name: get windows build
uses: actions/download-artifact@v4
with:
name: windows

- name: get macos build
uses: actions/download-artifact@v4
with:
name: macos

# - name: get macos build
# uses: actions/download-artifact@v4
# with:
# name: macos
- name: get headers
uses: actions/download-artifact@v4
with:
name: headers-mingw
path: headers-mingw/

- name: pack
run: |
ls
mkdir jGL
mv *.a jGL/
mv headers/* jGL/
mv LICENSE jGL/
zip -r jGL.zip jGL/*
for release in linux-x86_64 macos.a windows;
do
mkdir $release
mv libjGL-$release.a $release/
mv LICENSE $release/
zip -r $release.zip $release/*
done
zip -r headers.zip headers
zip -r headers-mingw.zip headers-mingw
# https://github.com/softprops/action-gh-release
- name: release
Expand All @@ -395,4 +406,9 @@ jobs:
prerelease: true
name: "release-${{ github.ref_name }}"
tag_name: ${{ github.ref }}
files: jGL.zip
files: |
linux.zip
windows.zip
macos.zip
headers.zip
headers-mingw.zip

0 comments on commit 343d0c2

Please sign in to comment.