chore(ci): add ci cross-build #4
Workflow file for this run
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: build | |
on: | |
pull_request: | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
build_cross: | |
runs-on: ubuntu-latest | |
name: Publish to Godot Asset Store | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: 1.46.1 | |
# - name: Run build-cross script | |
# run: | | |
# ./scripts/build_cross.sh | |
- name: Prepare Release | |
env: | |
ASSET_VERSION_NAME: TEST_VERSION | |
ASSET_DOWNLOAD_COMMIT: TEST_DOWNLOAD | |
run: | | |
./scripts/prepare_release.ts | |
cat /tmp/releases/rivet-plugin-godot/.asset-template.json | |
- name: Upload ZIP artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: rivet-plugin | |
path: /tmp/artifacts/rivet-plugin-godot.zip | |
# - name: Godot Asset Lib | |
# uses: deep-entertainment/[email protected] | |
# with: | |
# action: addEdit | |
# username: ${{ secrets.GODOT_ASSET_LIBRARY_USERNAME }} | |
# password: ${{ secrets.GODOT_ASSET_LIBRARY_PASSWORD }} | |
# assetId: 1881 | |
# assetTemplate: .asset-template.json | |
# baseUrl: https://godotengine.org/asset-library/api | |