diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6f127f8c..b40da41e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -173,39 +173,3 @@ jobs: asset_name: ${{ env.GAME_EXECUTABLE_NAME }}_${{ steps.tag.outputs.tag }}_windows.msi tag: ${{ github.ref }} overwrite: true - build-web: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - with: - lfs: true - - name: Check out LFS objects - run: | - git lfs pull - - name: Install rust toolchain - uses: dtolnay/rust-toolchain@master - with: - toolchain: ${{ env.NIGHTLY_TOOLCHAIN }} - - name: Install Dependencies - run: sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev - - name: Install trunk - uses: jetli/trunk-action@v0.1.0 - with: - version: "v0.16.0" - - name: Add wasm target - run: | - rustup target add wasm32-unknown-unknown - - name: Build Release - run: | - trunk build --release --public-url "${GITHUB_REPOSITORY#*/}" --no-default-features --features wasm - - name: Optimize Wasm - uses: NiklasEi/wasm-opt-action@v2 - with: - file: dist/*.wasm - - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.2.5 - with: - branch: gh-pages - folder: dist diff --git a/readme.md b/readme.md index c33475ca..8601ca40 100644 --- a/readme.md +++ b/readme.md @@ -36,20 +36,9 @@ Then, replace all instances of the word `foxtrot` with the name of your game. Ch - `build/macos/src/Game.app/Contents/Resources/Info.plist` ### Running the game -Native: ```bash cargo run ``` -Wasm: -```bash -trunk serve -``` - -Building WASM requires `trunk`: - -```bash -cargo install --locked trunk -``` ### Updating assets