44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
name: link
|
|
|
|
on: [push]
|
|
|
|
env:
|
|
OAT_VERSION: "0.14.1"
|
|
|
|
jobs:
|
|
link-linux:
|
|
name: Link assets on Linux
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ubuntu:noble
|
|
|
|
steps:
|
|
- name: Install dependencies
|
|
run: |
|
|
apt-get update
|
|
apt-get install -y git
|
|
|
|
- name: Check out files
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
# NOTE - If LFS ever starts getting used for storing zones, switch this to true!
|
|
lfs: false
|
|
token: ${{ secrets.SUBMODULE_PAT }}
|
|
|
|
- name: Link assets
|
|
working-directory: ${{ github.workspace }}
|
|
run: |
|
|
export OAT_VERSION=${{ env.OAT_VERSION }}
|
|
export PRIVATE_FASTFILE_1=${{ secrets.PRIVATE_FASTFILE_1 }}
|
|
export PRIVATE_FASTFILE_2=${{ secrets.PRIVATE_FASTFILE_2 }}
|
|
./.gitea/scripts/ci.sh
|
|
|
|
- name: Upload assets
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: assets
|
|
path: |
|
|
zone_out/guns/mod.ff
|