This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(actions-bootstrap): update default actions
- Loading branch information
bootstrap-package-actions
committed
Aug 28, 2021
1 parent
466222d
commit 325f185
Showing
3 changed files
with
11 additions
and
13 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 |
---|---|---|
@@ -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/ |
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 |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
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