Skip to content

Commit

Permalink
add success message to GPG import
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed May 1, 2023
1 parent 04f2249 commit 690ac7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gt-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
|| (echo "could not import GPG keys via vars.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || gpg --import - <<< "${{ secrets.PUBLIC_GPG_KEYS_WE_TRUST }}" && success=true \
|| (echo "could not import GPG keys via secrets.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || "${success:-false}"
false || "${success:-false}" && echo "was able to import GPGs either via vars or secrets (or via both -- see above)"
- uses: actions/checkout@v3
- name: Install gt
run: |
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: git status
run: git status
- name: Create pull request if necessary
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v4
with:
branch: gt/update
base: main
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
|| (echo "could not import GPG keys via vars.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || gpg --import - <<< "${{ secrets.PUBLIC_GPG_KEYS_WE_TRUST }}" && success=true \
|| (echo "could not import GPG keys via secrets.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || "${success:-false}"
false || "${success:-false}" && echo "was able to import GPGs either via vars or secrets (or via both -- see above)"
- uses: actions/checkout@v3
- name: Check it works
run: |
Expand All @@ -38,7 +38,7 @@ jobs:
|| (echo "could not import GPG keys via vars.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || gpg --import - <<< "${{ secrets.PUBLIC_GPG_KEYS_WE_TRUST }}" && success=true \
|| (echo "could not import GPG keys via secrets.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || "${success:-false}"
false || "${success:-false}" && echo "was able to import GPGs either via vars or secrets (or via both -- see above)"
- uses: actions/checkout@v3
- name: Check it works
run: ./install.doc.sh
Expand All @@ -58,7 +58,7 @@ jobs:
|| (echo "could not import GPG keys via vars.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || gpg --import - <<< "${{ secrets.PUBLIC_GPG_KEYS_WE_TRUST }}" && success=true \
|| (echo "could not import GPG keys via secrets.PUBLIC_GPG_KEYS_WE_TRUST -- maybe it's not defined"; exit 1) && \
false || "${success:-false}"
false || "${success:-false}" && echo "was able to import GPGs either via vars or secrets (or via both -- see above)"
- uses: actions/checkout@v3
- name: install ${{ matrix.tag }}
run: |
Expand Down

0 comments on commit 690ac7d

Please sign in to comment.