Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
e-marchand authored Jul 31, 2024
1 parent a8e2038 commit 32f4f17
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
runs-on: macos-latest
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_RELEASE_TAG: "${{ github.event.release.tag_name }}"
Expand All @@ -19,12 +19,13 @@ jobs:
uses: actions/checkout@v4
- name: download sdks & generator
run: |
mkdir -p ./Resources/sdk
echo "test"
if [[ "$GITHUB_RELEASE_TAG" == *".fat" ]]; then
curl -sL https://github.com/4d/ios-sdk/releases/latest/download/ios.zip -o ./Resources/sdk/ios.zip
curl -sL https://github.com/4d/android-sdk/releases/latest/download/android.zip -o ./Resources/sdk/android.zip
echo "fat"
curl -sL https://github.com/4d/ios-sdk/releases/latest/download/ios.zip -o ios.zip
curl -sL https://github.com/4d/android-sdk/releases/latest/download/android.zip -o android.zip
fi
curl -sL https://github.com/4d/android-ProjectGenerator/releases/latest/download/androidprojectgenerator.jar -o ./Resources/scripts/androidprojectgenerator.jar
ls
echo "then"
curl -sL https://github.com/4d/android-ProjectGenerator/releases/latest/download/androidprojectgenerator.jar -o androidprojectgenerator.jar
echo "find"
find .

0 comments on commit 32f4f17

Please sign in to comment.