Don't upload Linux release archives

Run the build to prove it works, but don't publish the archive because LOOT no longer needs it, and it's not very portable to other Linux distributions or versions of Ubuntu, and people might try to use it instead of building from source.
This commit is contained in:
Oliver Hamlet
2024-11-18 21:10:21 +00:00
parent 2ac1e4363c
commit 32db24e1c8
-16
View File
@@ -35,8 +35,6 @@ jobs:
- [API](https://loot-api.readthedocs.io/en/latest/api/changelog.html)
- [Metadata Syntax](https://loot-api.readthedocs.io/en/latest/metadata/changelog.html)
*Note: The files below with `tar.xz` extensions contain Linux binaries. They won't work on Windows computers.*
linux:
runs-on: ubuntu-20.04
@@ -107,24 +105,10 @@ jobs:
run: sphinx-build -b html docs build/docs/html
- name: Build archive
id: build-archive
shell: bash
run: |
cd build
cpack
echo "filename=libloot-${{ needs.create_release.outputs.git_tag }}-Linux.tar.xz" >> $GITHUB_OUTPUT
- name: Upload Archive
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create_release.outputs.upload_url }}
asset_path: build/package/${{ steps.build-archive.outputs.filename }}
asset_name: ${{ steps.build-archive.outputs.filename }}
asset_content_type: application/octet-stream
windows:
runs-on: windows-2019
needs: create_release