From 32db24e1c8fa9a0d6de4f857e088fd983f9add49 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Mon, 18 Nov 2024 21:10:21 +0000 Subject: [PATCH] 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. --- .github/workflows/release.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d93d139..45233399 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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