do release build for pushes on main branch
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
- run: apt update && apt install -y ${{ env.APT_PACKAGES }}
|
- run: apt update && apt install -y ${{ env.APT_PACKAGES }}
|
||||||
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
|
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
|
||||||
- run: cargo build --target "${{ env.TARGET_PLATFORM }}"
|
- run: cargo build --release --target "${{ env.TARGET_PLATFORM }}"
|
||||||
- uses: actions/gitea-release-action@v1
|
- uses: actions/gitea-release-action@v1
|
||||||
env:
|
env:
|
||||||
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
||||||
|
|||||||
Reference in New Issue
Block a user