Skip to content

Commit 043e682

Browse files
committed
wip
1 parent 32c99f4 commit 043e682

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ jobs:
2626
continue-on-error: true
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
OTP_VERSION: ${{ inputs.otpVersion || github.event.otpVersion }}
2930
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
3133
3234
- name: install dependencies
3335
if: steps.already_published_check.outcome == 'failure'
@@ -37,7 +39,7 @@ jobs:
3739
if: steps.already_published_check.outcome == 'failure'
3840
env:
3941
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
OTP_VERSION: ${{ inputs.otpVersion }}
42+
OTP_VERSION: ${{ inputs.otpVersion || github.event.otpVersion }}
4143
run: |
4244
curl -fSL -o otp-src.tar.gz "https://github.com/erlang/otp/archive/OTP-$OTP_VERSION.tar.gz"
4345
export ERL_TOP=`pwd`/otp-OTP-${OTP_VERSION}

0 commit comments

Comments
 (0)