File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,15 @@ jobs:
123
123
- name : List packages
124
124
run : |
125
125
find $(pwd) -name '*.deb'
126
+ # This step isn't strictly necessary for push & schedule runs,
127
+ # but is required for imports to work when the main repo
128
+ # key material isn't available, say in a PR.
129
+ - name : Get import GPG key
130
+ id : get_import_key
131
+ run : |
132
+ echo 'gpg_public_key<<EOF' >> $GITHUB_OUTPUT
133
+ curl -s https://kanidm.github.io/kanidm_ppa/kanidm_ppa.asc >> $GITHUB_OUTPUT
134
+ echo 'EOF' >> $GITHUB_OUTPUT
126
135
- name : Create Aptly repo
127
136
128
137
with :
@@ -139,6 +148,7 @@ jobs:
139
148
# Provide your own key material in a fork to test with signed repo snapshots.
140
149
gpg_private_key : " ${{ secrets.GPG_PRIVATE_KEY }}"
141
150
gpg_passphrase : " ${{ secrets.PASSPHRASE }}"
151
+ import_gpg_key : " ${{ steps.get_import_key.outputs.gpg_public_key }}"
142
152
143
153
# Step 4. Publish the created repo if and only if it's a push to main.
144
154
publish :
You can’t perform that action at this time.
0 commit comments