Skip to content

Commit be8dce0

Browse files
committed
Fixing zip-inside-zip issue and package name
1 parent 8ee9556 commit be8dce0

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/build-linux.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,20 @@ jobs:
5050
run: USE_RESTCLIENT=1 USE_INTERNAL_LUA=1 USE_CURL_DLOPEN=0 make -j
5151
- name: download paks
5252
run: ./misc/download-paks.sh
53+
- name: extract pak
54+
run: |
55+
PKG=tremulous-${{ env.release_name }}
56+
echo "PKG=" $PKG >> $GITHUB_ENV
57+
mkdir ./build/$PKG
58+
pushd ./build/$PKG
59+
unzip ../${{ env.release_name }}.zip
5360
- name: change perms
5461
run: chmod -R ugo+rw build
55-
- name: upload binaries
62+
- name: repack and upload archives
5663
# only run if this was a tagged release (only works if separate job)
5764
# if: ( github.event_name == "create" ) && ( github.event.ref_type == 'tag' )
5865
uses: actions/upload-artifact@v4
5966
with:
60-
name: ${{ env.release_name }}
61-
path: ./build/${{ env.release_name }}.zip
67+
name: ${{ env.PKG }}
68+
path: ./build/${{ env.PKG }}
6269

0 commit comments

Comments
 (0)