Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: missing release of walletconnect in play-unreal-demo (fix #353) #57

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout play-uneral-demo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
run: |
Expand All @@ -28,7 +28,7 @@ jobs:
sudo rm -rf /usr/local/lib/android

- name: Checkout play-unreal-plugin repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: cronos-labs/play-unreal-plugin
path: simple/Plugins/play-unreal-plugin
Expand Down
44 changes: 40 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
CronosPlaySimpleDemo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Checkout play-unreal-plugin repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: cronos-labs/play-unreal-plugin
path: simple/Plugins/play-unreal-plugin
Expand Down Expand Up @@ -52,10 +52,10 @@ jobs:
CronosPlayMetaverseDemo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Checkout play-unreal-plugin repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: cronos-labs/play-unreal-plugin
path: Metaverse/Plugins/play-unreal-plugin
Expand Down Expand Up @@ -84,3 +84,39 @@ jobs:
${{ env.demo_checksum_file }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CronosPlayWalletConnectDemo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Checkout play-unreal-plugin repo
uses: actions/checkout@v4
with:
repository: cronos-labs/play-unreal-plugin
path: walletconnect/Plugins/play-unreal-plugin

- name: Build play-unreal-plugin repo
run: |
cd walletconnect/Plugins/play-unreal-plugin
TARGET=5.4 make
python change_version.py 5.4.0

- name: Package
run: |
FILENAME="CronosPlayWalletConnectDemo.zip"
zip -r ${FILENAME} walletconnect -x "walletconnect/.git/*" "walletconnect/.git/*" "walletconnect/Plugins/play-unreal-plugin/.git/*" "walletconnect/Plugins/play-unreal-plugin/.github/*" "walletconnect/Plugins/play-unreal-plugin/install/*"
sha256sum ${FILENAME} > "checksums-${FILENAME}.txt"
echo "demo_project_file=${FILENAME}" >> $GITHUB_ENV
echo "demo_checksum_file=checksums-${FILENAME}.txt" >> $GITHUB_ENV

- name: Upload demo project and checksum file to Release
uses: softprops/action-gh-release@v1
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
with:
draft: true
files: |
${{ env.demo_project_file }}
${{ env.demo_checksum_file }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading