File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 45
45
path : |
46
46
~/.konan
47
47
key : ${{ runner.os }}-${{ hashFiles('**/.lock') }}
48
+ - name : Import GPG key
49
+ uses : crazy-max/ghaction-import-gpg@v6
50
+ if : success() && endsWith(env.VERSION_NAME, '-SNAPSHOT')
51
+ with :
52
+ gpg_private_key : ${{ secrets.OSSRH_GPG_SECRET_KEY }}
53
+ passphrase : ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
48
54
- name : Set up JDK 21
49
55
uses : actions/setup-java@v4
50
56
with :
60
66
arguments : ${{ matrix.target }}
61
67
- name : Retrieve Version
62
68
run : echo "VERSION_NAME=$(./gradlew -q --no-configuration-cache printVersionName)" >> $GITHUB_ENV
63
- - name : Import GPG key
64
- uses : crazy-max/ghaction-import-gpg@v6
65
- if : success() && endsWith(env.VERSION_NAME, '-SNAPSHOT')
66
- with :
67
- gpg_private_key : ${{ secrets.OSSRH_GPG_SECRET_KEY }}
68
- passphrase : ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
69
69
- name : Upload Snapshot
70
70
uses : gradle/actions/setup-gradle@v3
71
71
if : success() && endsWith(env.VERSION_NAME, '-SNAPSHOT')
You can’t perform that action at this time.
0 commit comments