Custom way of calculating legal moves, also reduce swinging animation #23
This file contains hidden or 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: Release Canary | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - README.md | |
| - LICENSE.md | |
| - 'scripts/**' | |
| - '.github/**' | |
| release: | |
| types: [released, prereleased] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| packages: write | |
| concurrency: | |
| group: canary_environment | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.2.0 | |
| run_install: true | |
| - uses: CompeyDev/setup-rokit@v0.1.2 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Compile | |
| run: pnpm build --verbose | |
| - name: Build project | |
| run: rojo build --output place.rbxlx | |
| - name: Upload place artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: place | |
| path: place.rbxlx | |
| deploy: | |
| runs-on: self-hosted | |
| environment: canary | |
| needs: build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: CompeyDev/setup-rokit@v0.1.2 | |
| - name: Download place artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: place | |
| - name: Deploy game | |
| run: mantle deploy --allow-purchases --environment canary | |
| env: | |
| ROBLOSECURITY: ${{ secrets.ROBLOSECURITY }} | |
| MANTLE_AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| MANTLE_AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| MANTLE_OPEN_CLOUD_API_KEY: ${{ secrets.MANTLE_OPEN_CLOUD_API_KEY }} |