Skip to content

Commit

Permalink
add release
Browse files Browse the repository at this point in the history
  • Loading branch information
leejw51crypto committed Apr 27, 2024
1 parent 9a9e196 commit 6390963
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,39 @@ jobs:
${{ env.release_file }}
${{ env.checksum_file }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


Unreal_Release_5_4:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive

- name: Prepare PlayCppSdk
run: |
TARGET=5.4 make
python change_version.py 5.4
- name: Package For Windows,Mac
run: |
FILENAME="CronosPlayForUnrealEngine5.4.zip"
zip -r ${FILENAME} Source Resources CronosPlayUnreal.uplugin
sha256sum ${FILENAME} > "checksums.txt"
echo "release_file=${FILENAME}" >> $GITHUB_ENV
echo "checksum_file=checksums.txt" >> $GITHUB_ENV
- name: Upload binaries and bindings to Release
uses: softprops/action-gh-release@v1
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
with:
draft: true
files: |
${{ env.release_file }}
${{ env.checksum_file }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6390963

Please sign in to comment.