Skip to content

Commit

Permalink
Don't upload Linux release archives
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ortham committed Nov 18, 2024
1 parent 2ac1e43 commit 32db24e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 32db24e

Please sign in to comment.