Skip to content

Commit

Permalink
Problem: missing release of walletconnect in play-unreal-demo (fix #3…
Browse files Browse the repository at this point in the history
…53) (#57)

checkout v4
  • Loading branch information
leejw51crypto authored May 2, 2024
1 parent b14eaab commit ff422fa
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 6 deletions.
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 }}

0 comments on commit ff422fa

Please sign in to comment.