1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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

This commit is contained in:
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

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