Problem: change log not updated (fix #357) (#358) #696
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- README.md | |
tags: | |
- "v*.*.*" | |
merge_group: | |
pull_request: | |
paths-ignore: | |
- README.md | |
jobs: | |
Unreal_Release_4_27: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
submodules: recursive | |
- name: Prepare PlayCppSdk | |
run: | | |
TARGET=4.27 make | |
python change_version.py 4.27.0 | |
- name: Package For Windows,Mac | |
run: | | |
FILENAME="CronosPlayForUnrealEngine4.27.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 }} | |
Unreal_Release_5_0: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
submodules: recursive | |
- name: Prepare PlayCppSdk | |
run: | | |
TARGET=5.0 make | |
python change_version.py 5.0.0 | |
- name: Package For Windows,Mac | |
run: | | |
FILENAME="CronosPlayForUnrealEngine5.0.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 }} | |
Unreal_Release_5_1: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
submodules: recursive | |
- name: Prepare PlayCppSdk | |
run: | | |
TARGET=5.1 make | |
python change_version.py 5.1.0 | |
- name: Package For Windows,Mac | |
run: | | |
FILENAME="CronosPlayForUnrealEngine5.1.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 }} | |
Unreal_Release_5_2: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
submodules: recursive | |
- name: Prepare PlayCppSdk | |
run: | | |
TARGET=5.2 make | |
python change_version.py 5.2.0 | |
- name: Package For Windows,Mac | |
run: | | |
FILENAME="CronosPlayForUnrealEngine5.2.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 }} | |
Unreal_Release_5_3: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
submodules: recursive | |
- name: Prepare PlayCppSdk | |
run: | | |
TARGET=5.3 make | |
python change_version.py 5.3.0 | |
- name: Package For Windows,Mac | |
run: | | |
FILENAME="CronosPlayForUnrealEngine5.3.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 }} | |
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 }} |