Skip to content

Merge pull request #77 from SynixeContractors/serenity_update #65

Merge pull request #77 from SynixeContractors/serenity_update

Merge pull request #77 from SynixeContractors/serenity_update #65

Workflow file for this run

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