-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (29 loc) · 924 Bytes
/
Copy pathdebug_token.yaml
File metadata and controls
33 lines (29 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Debug token
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Debug
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
MAVEN_GPG_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
run : echo -e "$MAVEN_GPG_KEY" > secret_key.asc
- name: Debug 2
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
MAVEN_GPG_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
run : echo -e "$MAVEN_GPG_PASSPHRASE" > secret_pass.asc
- name: Last opp nøkkelfil
uses: actions/upload-artifact@v4
with:
name: gpg-key-file
path: secret_key.asc
retention-days: 1
- name: Last opp nøkkelfil 2
uses: actions/upload-artifact@v4
with:
name: gpg-pass-file
path: secret_pass.asc
retention-days: 1