Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ jobs:
# clone everything that we need
- uses: actions/checkout@v4
with:
path: fa-python-binary-patcher
repository: FAForever/FA-Binary-Patches
ref: 'master'
path: .

- uses: actions/checkout@v4
with:
repository: FAForever/FA-Binary-Patches
path: fa-binary-patches
path: fa-python-binary-patcher

# install everything that we need
- uses: actions/setup-python@v5
Expand All @@ -65,11 +66,11 @@ jobs:

# download base executable
- name: Download base executable
run: curl -L "https://content.faforever.com/build/ForgedAlliance_base.exe" -o ForgedAlliance_base.exe
run: |
curl -L "https://content.faforever.com/build/ForgedAlliance_base.exe" -o ForgedAlliance_base.exe

# patch it, if it works then we're good
- name: Patch base executable
run: |
echo "#define gitsha \"${{ github.sha }}\"" > workflow.cpp
mkdir build
python ./fa-python-binary-patcher/main.py "$(pwd)" clang++ ld g++