File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 50
50
uses : gradle/actions/setup-gradle@v3
51
51
with :
52
52
arguments : |
53
+ ${{ matrix.target }}
53
54
closeSonatypeStagingRepository
54
55
-Psigning.gnupg.passphrase='${{secrets.OSSRH_GPG_SECRET_KEY_PASSWORD}}'
55
56
-Psigning.gnupg.keyName='${{secrets.OSSRH_GPG_SECRET_KEY_ID}}'
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 : Retrieve Version
49
+ run : echo "VERSION_NAME=$(./gradlew -q --no-configuration-cache printVersionName)" >> $GITHUB_ENV
48
50
- name : Import GPG key
49
51
uses : crazy-max/ghaction-import-gpg@v6
50
52
if : success() && endsWith(env.VERSION_NAME, '-SNAPSHOT')
64
66
uses : gradle/actions/setup-gradle@v3
65
67
with :
66
68
arguments : ${{ matrix.target }}
67
- - name : Retrieve Version
68
- run : echo "VERSION_NAME=$(./gradlew -q --no-configuration-cache printVersionName)" >> $GITHUB_ENV
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