diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3244f8b..33239ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -100,14 +100,6 @@ jobs: mv target/bundled/* "$ARCHIVE_NAME/$ARCHIVE_NAME" - name: Add an OS-specific readme file with installation instructions run: cp ".github/workflows/readme-${{ runner.os }}.txt" "$ARCHIVE_NAME/$ARCHIVE_NAME/README.txt" - - name: Make the OSX standalone app executable - if: startsWith(matrix.os, 'macos') - run: | - chmod +x "$ARCHIVE_NAME/$ARCHIVE_NAME/lamb.app/Contents/MacOS/lamb" - # - name: Make the windows standalone app executable - # if: startsWith(matrix.os, 'windows') - # run: | - # git update-index --chmod=+x "$ARCHIVE_NAME/$ARCHIVE_NAME/lamb.exe" - name: Upload artifacts uses: actions/upload-artifact@v4 @@ -115,13 +107,13 @@ jobs: name: ${{ env.ARCHIVE_NAME }} path: ${{ env.ARCHIVE_NAME }} - - name: Zip files - uses: vimtor/action-zip@v1.2 + - name: Zip Release + uses: thedoctor0/zip-release@0.7.5 if: startsWith(github.ref, 'refs/tags/') with: - files: ${{ env.ARCHIVE_NAME }}/${{ env.ARCHIVE_NAME }} - recursive: true - dest: lamb-${{ github.ref_name }}-${{ matrix.name }}.zip + type: 'zip' + directory: ${{ env.ARCHIVE_NAME }}/${{ env.ARCHIVE_NAME }} + filename: lamb-${{ github.ref_name }}-${{ matrix.name }}.zip - name: Release uses: softprops/action-gh-release@v2