Skip to content

Commit

Permalink
fix: disable AUR publishing (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
GameTec-live authored Mar 30, 2024
1 parent 3cd963b commit d44b3b6
Showing 1 changed file with 50 additions and 49 deletions.
99 changes: 50 additions & 49 deletions .github/workflows/publish-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,52 +216,53 @@ jobs:
export APP_STORE_CONNECT_PRIVATE_KEY=`cat AuthKey.p8`
app-store-connect builds submit-to-testflight $BUILD_ID || true
app-store-connect beta-groups add-build $BUILD_ID --beta-group="Open beta testing" || true
build-aur:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./chameleonultragui
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 100
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.AUR_KEY }}
- name: configure ssh
run: |
mkdir -p ~/.ssh
ssh-keyscan -t rsa aur.archlinux.org >> ~/.ssh/known_hosts
echo -e "Host aur.archlinux.org\n\tStrictHostKeyChecking no\n\tUser aur" >> ~/.ssh/config
- name: configure git
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- run: cp ../release-PKGBUILD PKGBUILD
working-directory: "./chameleonultragui/"
- run: cp ../release-.SRCINFO .SRCINFO
working-directory: "./chameleonultragui/"
- name: Update pakagerel in PKGBUILD
run: sed -i "s/pkgrel=.*/pkgrel=${{ github.run_number }}/" PKGBUILD
working-directory: "./chameleonultragui/"
- name: Update pkgrel in .SRCINFO
run: sed -i "s/pkgrel = .*/pkgrel = ${{ github.run_number }}/" .SRCINFO
working-directory: "./chameleonultragui/"
- name: clone aur
run: git -c init.defaultbranch=master clone ssh://[email protected]/chameleonultragui.git
working-directory: "./chameleonultragui/"
- name: copy PKGBUILD
run: cp ../PKGBUILD ./
working-directory: "./chameleonultragui/chameleonultragui/"
- name: copy .SRCINFO
run: cp ../.SRCINFO ./
working-directory: "./chameleonultragui/chameleonultragui/"
- name: commit
run: |
git add PKGBUILD
git add .SRCINFO
git commit -m "Update to ${{ github.run_number }}"
working-directory: "./chameleonultragui/chameleonultragui/"
- name: push
run: git push
working-directory: "./chameleonultragui/chameleonultragui/"
# Skip automatically pushing to AUR...
#build-aur:
# runs-on: ubuntu-latest
# defaults:
# run:
# working-directory: ./chameleonultragui
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 100
# - uses: webfactory/[email protected]
# with:
# ssh-private-key: ${{ secrets.AUR_KEY }}
# - name: configure ssh
# run: |
# mkdir -p ~/.ssh
# ssh-keyscan -t rsa aur.archlinux.org >> ~/.ssh/known_hosts
# echo -e "Host aur.archlinux.org\n\tStrictHostKeyChecking no\n\tUser aur" >> ~/.ssh/config
# - name: configure git
# run: |
# git config --global user.email "github-actions[bot]@users.noreply.github.com"
# git config --global user.name "github-actions[bot]"
# - run: cp ../release-PKGBUILD PKGBUILD
# working-directory: "./chameleonultragui/"
# - run: cp ../release-.SRCINFO .SRCINFO
# working-directory: "./chameleonultragui/"
# - name: Update pakagerel in PKGBUILD
# run: sed -i "s/pkgrel=.*/pkgrel=${{ github.run_number }}/" PKGBUILD
# working-directory: "./chameleonultragui/"
# - name: Update pkgrel in .SRCINFO
# run: sed -i "s/pkgrel = .*/pkgrel = ${{ github.run_number }}/" .SRCINFO
# working-directory: "./chameleonultragui/"
# - name: clone aur
# run: git -c init.defaultbranch=master clone ssh://[email protected]/chameleonultragui.git
# working-directory: "./chameleonultragui/"
# - name: copy PKGBUILD
# run: cp ../PKGBUILD ./
# working-directory: "./chameleonultragui/chameleonultragui/"
# - name: copy .SRCINFO
# run: cp ../.SRCINFO ./
# working-directory: "./chameleonultragui/chameleonultragui/"
# - name: commit
# run: |
# git add PKGBUILD
# git add .SRCINFO
# git commit -m "Update to ${{ github.run_number }}"
# working-directory: "./chameleonultragui/chameleonultragui/"
# - name: push
# run: git push
# working-directory: "./chameleonultragui/chameleonultragui/"

0 comments on commit d44b3b6

Please sign in to comment.