Skip to content

Commit a58a458

Browse files
committed
PLONK
1 parent 7f3cef9 commit a58a458

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,10 @@ jobs:
7777
- name: Archive artifacts
7878
shell: bash
7979
run: |
80-
# Find the artifact directory and copy its contents to create proper structure (i want it to be zip/addons/sourcemod/* so i'll just do it the complicated way)
8180
artifact_dir=$(find * -maxdepth 0 -type d | head -n 1)
82-
zip -rq "$artifact_dir.zip" "$artifact_dir"
83-
mkdir -p temp_extract
84-
cd temp_extract
85-
unzip -q "../$artifact_dir.zip"
8681
cd "$artifact_dir"
87-
zip -rq "../../$artifact_dir.zip" addons/
88-
cd ../..
89-
rm -rf temp_extract
82+
zip -rq "../$artifact_dir.zip" addons/
83+
cd ..
9084
echo "zip_file=$artifact_dir.zip" >> $GITHUB_ENV
9185
9286
- name: Generate changelog

0 commit comments

Comments
 (0)