Skip to content

Commit

Permalink
Ocherednoy fix ebanogo actiona
Browse files Browse the repository at this point in the history
  • Loading branch information
ArKaNeMaN committed Dec 5, 2024
1 parent 9338290 commit d5029a0
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ on:

env:
PACKAGE_NAME: player-preferences
STORE_README: 1
GENERATE_PLUGINS_INI: 0

jobs:
build:
Expand Down Expand Up @@ -56,7 +54,6 @@ jobs:
- name: Compile plugins
working-directory: scripting/
env:
GENERATE_PLUGINS_INI: ${{ env.GENERATE_PLUGINS_INI }}
PLUGINS_INI_POSTFIX: ${{ env.PLUGINS_INI_POSTFIX }}
run: |
compile() {
Expand All @@ -69,12 +66,6 @@ jobs:
echo -n "Compiling $sourcefile ... "
amxxpc $sourcefile -o"$output_path" \
-i"include"
if [ ! -z "${GENERATE_PLUGINS_INI}" ]; then
plugin_ini_path="../configs/plugins-${PLUGINS_INI_POSTFIX}.ini"
touch $plugin_ini_path
echo $amxxfile >> $plugin_ini_path
fi
}
export -f compile
Expand All @@ -89,10 +80,7 @@ jobs:
mv configs $package_amxmodx_path
mv scripting $package_amxmodx_path
mv migrations publish/
if [ ! -z "${STORE_README}" ]; then
mv readme.md publish/
fi
mv readme.md publish/
- name: Deploy artifact
uses: actions/upload-artifact@v4.3.1
Expand Down

0 comments on commit d5029a0

Please sign in to comment.