binary_artifact.yml: restore top level v_{linux,macos,windows}/ folder in the .zip files.

pull/7113/head weekly.2020.49.2
Delyan Angelov 2020-12-03 16:56:39 +02:00
parent 110c7e6f90
commit b8bb034f91
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 3 additions and 2 deletions

View File

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