mirror of
https://github.com/Xevion/rust-sdl2-emscripten.git
synced 2025-12-09 02:08:31 -06:00
Add names to Deploy steps
This commit is contained in:
17
.github/workflows/deploy.yaml
vendored
17
.github/workflows/deploy.yaml
vendored
@@ -14,13 +14,16 @@ jobs:
|
|||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: mymindstorm/setup-emsdk@v11
|
- name: Setup Emscripten SDK
|
||||||
|
uses: mymindstorm/setup-emsdk@v11
|
||||||
with:
|
with:
|
||||||
version: 3.1.43
|
version: 3.1.43
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
- name: Setup Rust WASM32 Toolchain
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: wasm32-unknown-emscripten
|
target: wasm32-unknown-emscripten
|
||||||
@@ -29,14 +32,14 @@ jobs:
|
|||||||
- name: Rust Cache
|
- name: Rust Cache
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v3
|
- name: Install pnpm
|
||||||
name: Install pnpm
|
uses: pnpm/action-setup@v3
|
||||||
with:
|
with:
|
||||||
version: 8
|
version: 8
|
||||||
run_install: true
|
run_install: true
|
||||||
|
|
||||||
- name: Build # build
|
- name: Build
|
||||||
run: ./scripts/build.sh -er # release, skip emsdk
|
run: ./scripts/build.sh -er # release mode, skip emsdk
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-pages-artifact@v2
|
uses: actions/upload-pages-artifact@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user