Skip to content
This repository has been archived by the owner on Jan 24, 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 Jan 17, 2021
1 parent 7f6ede2 commit 3179746
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pkgbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
echo "AARCH64=$(cat PKGBUILD | grep arch= | sed -e 's/^arch=//' | grep -q aarch64 && echo 'true' || echo false)" >> $GITHUB_ENV
echo "X86_64=$(cat PKGBUILD | grep arch= | sed -e 's/^arch=//' | grep -q -E -i -w '(x86_64|any)' && echo 'true' || echo false)" >> $GITHUB_ENV
echo "VERSION=$(cat PKGBUILD | grep pkgver= | sed -e 's/^pkgver=//')-$(cat PKGBUILD | grep pkgrel= | sed -e 's/^pkgrel=//')" >> $GITHUB_ENV
while IFS="" read -r key || [ -n "$key" ]; do
sudo -u builder gpg --recv-key $key
done <.github/additional_gpg
if [ -f ".github/additional_gpg" ]; then
while IFS="" read -r key || [ -n "$key" ]; do
sudo -u builder gpg --recv-key $key
done <.github/additional_gpg
fi
echo "REPO_NAME=$(echo ${{ github.repository }} | sed 's|/|_|g')" >> $GITHUB_ENV
-
name: create_release
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
token: ${{ secrets.PUSH_AND_TRIGGER }}
-
name: add ssh pk
run: mkdir -p ~/.ssh/id_rsa && echo ${{ secrets.SSH_BASE64 }} | base64 -d >~/.ssh/id_rsa
if: ${{ contains(env.UPSTREAM_GIT, 'ssh') }}
run: mkdir -p ~/.ssh/id_rsa && echo "${{ secrets.SSH_BASE64 }}" | base64 -d >~/.ssh/id_rsa
-
name: check if behind upstream
run: |
Expand Down

0 comments on commit 3179746

Please sign in to comment.