name: "godot-ci export" on: workflow_dispatch: push: branches: [ main ] env: GODOT_VERSION: 4.6.1 EXPORT_NAME: adatonic jobs: export-windows: name: Windows Export runs-on: ubuntu-latest container: image: docker://barichello/godot-ci:3.2.1 steps: - name: Checkout uses: actions/checkout@v1 - name: Setup run: | mkdir -v -p build/linux build/windows build/mac build/web ~/.local/share/godot/templates mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable - name: Windows Build run: godot -v --export "Windows Desktop" ./build/windows/$EXPORT_NAME.exe - name: Upload Artifact uses: actions/upload-artifact@v1 with: name: windows path: ./build/windows/ export-linux: name: Linux Export runs-on: ubuntu-latest container: image: docker://barichello/godot-ci:3.2.1 steps: - name: Checkout uses: actions/checkout@v1 - name: Setup run: | mkdir -v -p build/linux build/windows build/mac build/web ~/.local/share/godot/templates mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable - name: Linux Build run: godot -v --export "Linux" ./build/linux/$EXPORT_NAME.x86_64 - name: Upload Artifact uses: actions/upload-artifact@v1 with: name: linux path: ./build/linux/