Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
chore(actions-bootstrap): update default actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bootstrap-package-actions committed Aug 28, 2021
1 parent 466222d commit 325f185
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# inherits settings from https://github.com/Manjaro-Sway/.github/blob/main/.github/settings.yml
_extends: .github
repository:
homepage: "https://git.hya.sk/skia/swaysome.git"
homepage: https://git.hya.sk/skia/swaysome.git
# you can extend settings using https://probot.github.io/apps/settings/
18 changes: 8 additions & 10 deletions .github/workflows/pkgbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ jobs:
- uses: actions/[email protected]
- name: get-additional-gpg
run: |
echo ${{ secrets.GPG_KEYID }} >>.github/additional_gpg
echo "ADDITIONAL_GPG=$(cat .github/additional_gpg)" >>$GITHUB_ENV
echo "ADDITIONAL_GPG=$(cat .github/additional_gpg | sed -e ':a;N;$!ba;s/\n/ /g')" >>$GITHUB_ENV
- name: any-build
if: ${{ ( contains(needs.prepare.outputs.architectures, 'any') && matrix.archlinux_arch == 'x86_64' ) }}
run: echo "BUILD=true" >>$GITHUB_ENV
Expand All @@ -66,15 +65,14 @@ jobs:
dockerRunArgs: |
--volume "${PWD}/artifacts:/artifacts"
--cap-add=SYS_ADMIN
shell: /bin/sh
shell: /bin/bash
install: |
for key in "${{ env.ADDITIONAL_GPG }}";do
sudo -u builder gpg --keyserver keys.openpgp.org --recv-key $key
done
sudo -u builder gpg --keyserver keys.openpgp.org --recv-key ${{ secrets.GPG_KEYID }}
pacman-key --keyserver keys.openpgp.org --recv-keys ${{ secrets.GPG_KEYID }}
sed -i '/^\[core\]/i \[manjaro-sway\]\nSigLevel = Optional TrustAll\nServer = https://packages.manjaro-sway.download/$arch\n' /etc/pacman.conf
ADDITIONAL_GPG=$(echo ${{ env.ADDITIONAL_GPG }} | sed -e ':a;N;$!ba;s/\n/ /g')
if [[ -n "$ADDITIONAL_GPG" ]]; then
sudo -u builder gpg --keyserver keys.openpgp.org --recv-key $(echo ${ADDITIONAL_GPG})
pacman-key --keyserver keys.openpgp.org --recv-keys $(echo ${ADDITIONAL_GPG})
fi
sed -i '/^\[core\]/i \[manjaro-sway\]\nSigLevel = PackageRequired\nServer = https://packages.manjaro-sway.download/$arch\n' /etc/pacman.conf
pacman-mirrors --geoip
run: |
pacman -Syy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- cron: '*/30 * * * *'

env:
UPSTREAM_GIT: ""
UPSTREAM_GIT: https://git.hya.sk/skia/swaysome.git

jobs:
rebase:
Expand Down Expand Up @@ -35,4 +35,4 @@ jobs:
if: ${{ failure() }}
run: |
git rebase upstream/$(git branch --show-current)
git push --force-with-lease
git push --force-with-lease

0 comments on commit 325f185

Please sign in to comment.