You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/build-and-release.yml
+15-17Lines changed: 15 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -74,20 +74,17 @@ jobs:
74
74
- name: Download artifacts
75
75
uses: actions/download-artifact@v4
76
76
77
-
- name: Archive artifacts
77
+
- name: Zip it up
78
78
shell: bash
79
79
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)
81
-
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"
80
+
artifact_dir=$(find * -maxdepth 0 -type d -name "offstyle-database-*" | head -n 1)
0 commit comments