mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-14 00:17:07 +00:00
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:
parent
2d30dbf931
commit
895e3cddce
3 changed files with 3 additions and 51 deletions
45
.github/workflows/deployment.yml
vendored
45
.github/workflows/deployment.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
@ -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
|
||||
|
||||
|
|
7
.github/workflows/post-release.yml
vendored
7
.github/workflows/post-release.yml
vendored
|
@ -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"'" } }'
|
Loading…
Reference in a new issue