binary_artifact.yml: unpack to a v/ folder as before.

pull/7127/head weekly.2020.49.3
Delyan Angelov 2020-12-03 22:43:16 +02:00
parent 9b6a1552e9
commit b37550c279
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 6 additions and 3 deletions

View File

@ -118,12 +118,15 @@ jobs:
path: ./${{ matrix.version }} path: ./${{ matrix.version }}
- name: Build Zip Archives - name: Build Zip Archives
run: | run: |
mv ${{ matrix.version }}/ v_${{ matrix.version }}/ mkdir -p workdir/
cd v_${{ matrix.version }}/ mv ${{ matrix.version }}/ workdir/v/
cd workdir/v/
chmod 755 v || true chmod 755 v || true
chmod 755 v.exe || true chmod 755 v.exe || true
cd .. cd ..
zip -r9 --symlinks v_${{ matrix.version }}.zip ./v_${{ matrix.version }}/* zip -r9 --symlinks ../v_${{ matrix.version }}.zip v/*
cd ..
rm -rf workdir/
- name: Get short tag name - name: Get short tag name
uses: jungwinter/split@v1 uses: jungwinter/split@v1
id: split id: split