summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-07-18 22:30:52 -0700
committerGitHub <noreply@github.com>2021-07-19 01:30:52 -0400
commit895e3cddce094371ee702d85d701b8a710491f6d (patch)
treed8be4faee8048f698322542c1989009f251e01c0
parent2d30dbf931d46b86868292e193558187e302cea8 (diff)
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!
-rw-r--r--.github/workflows/deployment.yml45
-rw-r--r--.github/workflows/nightly.yml2
-rw-r--r--.github/workflows/post-release.yml7
3 files changed, 3 insertions, 51 deletions
diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml
index c7a0272c..a5d10909 100644
--- a/.github/workflows/deployment.yml
+++ b/.github/workflows/deployment.yml
@@ -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
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 63046e98..09d97344 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -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
diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml
index 9e52d852..3189b75c 100644
--- a/.github/workflows/post-release.yml
+++ b/.github/workflows/post-release.yml
@@ -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"'" } }' \ No newline at end of file