File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 3434 distribution : zulu
3535 cache : maven
3636 - run : ./mvnw --no-transfer-progress -P exe -B -U -T1C verify
37+
38+ - name : Set SSH key
39+ if : (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/master') && matrix.java == '17'
40+ uses :
webfactory/[email protected] 41+ with :
42+ ssh-private-key : ${{ secrets.SSH_KEY }}
43+ - name : Add known host key
44+ run : ssh-keyscan mvn.javacard.pro >> ~/.ssh/known_hosts
45+ - name : Deploy package
46+ if : (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/master') && matrix.java == '17'
47+ run : ./mvnw --no-transfer-progress -B deploy
3748 - name : Release
3849 if : startsWith(github.ref, 'refs/tags/v') && matrix.java == '17'
3950 id : create_release
4556 fail_on_unmatched_files : true
4657 body : Release ${{ github.ref_name }}
4758 prerelease : true # manually promoted
48- - name : Set SSH key
49- uses :
webfactory/[email protected] 50- with :
51- ssh-private-key : ${{ secrets.SSH_KEY }}
52- - name : Add known host key
53- run : ssh-keyscan mvn.javacard.pro >> ~/.ssh/known_hosts
54- - name : Deploy package
55- if : (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/master') && matrix.java == '17'
56- run : ./mvnw --no-transfer-progress -B deploy
You can’t perform that action at this time.
0 commit comments