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

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

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

View File

@ -118,12 +118,15 @@ jobs:
path: ./${{ matrix.version }}
- name: Build Zip Archives
run: |
mv ${{ matrix.version }}/ v_${{ matrix.version }}/
cd v_${{ matrix.version }}/
mkdir -p workdir/
mv ${{ matrix.version }}/ workdir/v/
cd workdir/v/
chmod 755 v || true
chmod 755 v.exe || true
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
uses: jungwinter/split@v1
id: split