diff --git a/.github/workflows/binary_artifact.yml b/.github/workflows/binary_artifact.yml index a7f5e6f20d..b1010da293 100644 --- a/.github/workflows/binary_artifact.yml +++ b/.github/workflows/binary_artifact.yml @@ -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