Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpas committed Apr 18, 2022
1 parent 04254cf commit d21defb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,9 @@ jobs:
- name: Move
run: |
mkdir release
if [ ${{ matrix.target }} = x86_64-unknown-linux-gnu ]; then
cp extensions/target/x86_64-unknown-linux-gnu/release/libapollo_client.so release/tac_apollo_client_x64.so
elif [ ${{ matrix.target }} = x86_64-pc-windows-msvc ]; then
cp extensions/target/x86_64-pc-windows-msvc/release/apollo_client.dll release/tac_apollo_client_x64.dll
elif [ ${{ matrix.target }} = i686-pc-windows-msvc ]; then
cp extensions/target/i686-pc-windows-msvc/release/apollo_client.dll release/tac_apollo_client.dll
fi
cp extensions/target/x86_64-unknown-linux-gnu/release/libapollo_client.so release/tac_apollo_client_x64.so 2>/dev/null
cp extensions/target/x86_64-pc-windows-msvc/release/apollo_client.dll release/tac_apollo_client_x64.dll 2>/dev/null
cp extensions/target/i686-pc-windows-msvc/release/apollo_client.dll release/tac_apollo_client.dll 2>/dev/null
- uses: actions/upload-artifact@v3
with:
name: extensions-${{ github.sha }}
Expand Down
8 changes: 4 additions & 4 deletions hemtt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ authority = "{{prefix}}_{{version}}"

check = ["!check_release_os"]
prebuild = ["!compile_sqf"]
postbuild = ["!compile_sqf_cleanup"]
postbuild = ["!compile_sqf_cleanup", "!extensions"]
releasebuild = [
"@zip {{prefix}}_mods_{{version}}"
]
Expand Down Expand Up @@ -51,8 +51,8 @@ only_release = true
show_output = true

[scripts.extensions]
show_output = true
steps_windows = [
"echo Download extensions from GitHub Actions and add them to the release!"
]
steps_linux = [
]
only_release = true
show_output = true

0 comments on commit d21defb

Please sign in to comment.