Commit 043e682 1 parent 32c99f4 commit 043e682 Copy full SHA for 043e682
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 26
26
continue-on-error : true
27
27
env :
28
28
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29
+ OTP_VERSION : ${{ inputs.otpVersion || github.event.otpVersion }}
29
30
run : |
30
- mvn dependency:get -Dartifact=com.mechanical-orchard:jinterface:26.1.2 -DremoteRepositories=github::default::https://maven.pkg.github.com/mechanical-orchard/jinterface
31
+ echo OTP_VERSION: $OTP_VERSION
32
+ mvn dependency:get -Dartifact=com.mechanical-orchard:jinterface:$OTP_VERSION -DremoteRepositories=github::default::https://maven.pkg.github.com/mechanical-orchard/jinterface
31
33
32
34
- name : install dependencies
33
35
if : steps.already_published_check.outcome == 'failure'
37
39
if : steps.already_published_check.outcome == 'failure'
38
40
env :
39
41
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
- OTP_VERSION : ${{ inputs.otpVersion }}
42
+ OTP_VERSION : ${{ inputs.otpVersion || github.event.otpVersion }}
41
43
run : |
42
44
curl -fSL -o otp-src.tar.gz "https://github.com/erlang/otp/archive/OTP-$OTP_VERSION.tar.gz"
43
45
export ERL_TOP=`pwd`/otp-OTP-${OTP_VERSION}
You can’t perform that action at this time.
0 commit comments