-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3cd963b
commit d44b3b6
Showing
1 changed file
with
50 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/" |