diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9543939..5bd4391 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}" @@ -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 .