ci: disable AUR packaging (#551)

Since Arch builds are now maintained by a TU in the community repo, I'll be disabling AUR packaging from this point forward. Yay!
This commit is contained in:
Clement Tsang 2021-07-18 22:30:52 -07:00 committed by GitHub
parent 2d30dbf931
commit 895e3cddce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 51 deletions

View file

@ -1,7 +1,6 @@
# How we deploy a release. Covers binary builds. Also manages packaging for AUR, winget, choco, and homebrew.
# How we deploy a release. Covers binary builds. Also manages packaging for winget, choco, and homebrew.
#
# Based on:
# - https://github.com/BurntSushi/ripgrep/blob/master/.github/workflows/release.yml
# Based on https://github.com/BurntSushi/ripgrep/blob/master/.github/workflows/release.yml
name: deployment
@ -298,28 +297,6 @@ jobs:
asset_name: bottom_${{ env.RELEASE_VERSION }}_amd64.deb
asset_content_type: application/octet-stream
- name: Build AUR PKGBUILD (Linux x86-64 GNU)
if: matrix.triple.target == 'x86_64-unknown-linux-gnu' && matrix.triple.container == ''
run: |
curl -LO "https://github.com/ClementTsang/bottom/archive/${{ env.RELEASE_VERSION }}.tar.gz"
python "./deployment/packager.py" ${{ env.RELEASE_VERSION }} "./deployment/linux/arch/PKGBUILD.template" "./PKGBUILD" "SHA512" "./${{ env.RELEASE_VERSION }}.tar.gz"
- name: Tar AUR PKGBUILD (Linux x86-64 GNU)
if: matrix.triple.target == 'x86_64-unknown-linux-gnu' && matrix.triple.container == ''
run: |
tar -czvf arch_PKGBUILD.tar.gz PKGBUILD
- name: Upload AUR PKGBUILD (Linux x86-64 GNU)
if: matrix.triple.target == 'x86_64-unknown-linux-gnu' && matrix.triple.container == ''
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ env.RELEASE_UPLOAD_URL }}
asset_path: arch_PKGBUILD.tar.gz
asset_name: arch_PKGBUILD.tar.gz
asset_content_type: application/octet-stream
additional-file-generation:
needs: [build-release]
name: additional-file-generation
@ -380,24 +357,6 @@ jobs:
asset_name: bottom.rb
asset_content_type: application/octet-stream
- name: Build AUR PKGBUILD-bin
run: |
python "./deployment/packager.py" ${{ env.RELEASE_VERSION }} "./deployment/linux/arch/PKGBUILD_BIN.template" "./PKGBUILD" "SHA512" "./artifacts/bottom_x86_64-unknown-linux-gnu.tar.gz" "./artifacts/bottom_aarch64-unknown-linux-gnu.tar.gz" "./artifacts/bottom_armv7-unknown-linux-gnueabihf.tar.gz"
- name: Tar AUR PKGBUILD-bin
run: |
tar -czvf arch_PKGBUILD_bin.tar.gz PKGBUILD
- name: Upload AUR PKGBUILD-bin
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ env.RELEASE_UPLOAD_URL }}
asset_path: arch_PKGBUILD_bin.tar.gz
asset_name: arch_PKGBUILD_bin.tar.gz
asset_content_type: application/octet-stream
- name: Compress completion files (Linux x86-64 GNU)
if: matrix.triple.target == 'x86_64-unknown-linux-gnu' && matrix.triple.container == ''
shell: bash

View file

@ -1,5 +1,5 @@
# Creates nightly deployment builds for main targets. Note this does not cover package distribution channels,
# such as choco, AUR, Homebrew, etc.
# such as choco, Homebrew, etc.
name: nightly

View file

@ -98,10 +98,3 @@ jobs:
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.BOTTOM_PACKAGE_DEPLOYMENT }} \
--data '{ "event_type": "update", "client_payload": { "version": "'"$RELEASE_VERSION"'" } }'
- name: Trigger AUR
run: |
curl -X POST https://api.github.com/repos/ClementTsang/aur-bottom/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.BOTTOM_PACKAGE_DEPLOYMENT }} \
--data '{ "event_type": "update", "client_payload": { "version": "'"$RELEASE_VERSION"'" } }'