adjust payments #55
This file contains 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: arma | |
on: | |
push: | |
branches: [main] | |
paths: | |
- .github/workflows/arma.yaml | |
- arma/** | |
- lib/** | |
pull_request: | |
branches: [main] | |
paths: | |
- .github/workflows/arma.yaml | |
- arma/** | |
- lib/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup HEMTT | |
uses: arma-actions/hemtt@v1 | |
- name: Build Client | |
working-directory: arma/client | |
run: hemtt release | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
key: arma | |
- name: Build Server Extension | |
working-directory: arma/server | |
run: | | |
cargo build --release | |
cp ../../target/release/libcrate_server.so crate_server_x64.so | |
- name: Build Server | |
working-directory: arma/server | |
run: hemtt release | |
- name: Upload Client | |
uses: actions/upload-artifact@v3 | |
with: | |
name: crate_client.zip | |
path: arma/client/releases/crate_client-latest.zip | |
- name: Upload Server | |
uses: actions/upload-artifact@v3 | |
with: | |
name: crate_server.zip | |
path: arma/server/releases/crate_server-latest.zip |