Skip to content

Commit

Permalink
binary_artifact.yml: unpack to a v/ folder as before.
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Dec 3, 2020
1 parent 9b6a155 commit b37550c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/binary_artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b37550c

Please sign in to comment.