File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 build :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v2
9+ - uses : actions/checkout@v5
1010 - run : |
1111 ref=`echo ${github_ref} | sed -e 's,refs/heads/,,' | tr '/' '-'`
1212 echo $ref
1313 echo "::set-env name=ref::$ref"
1414 env:
1515 github_ref: ${{ github.ref }}
1616 ACTIONS_ALLOW_UNSECURE_COMMANDS: true
17+ - name : Set up JDK
18+ uses : actions/setup-java@v5
19+ with :
20+ java-version : ' 8'
21+ distribution : ' temurin'
1722 - name : keyscan
1823 run : mkdir -p ~/.ssh/ && ssh-keyscan -t rsa teamopenindustry.cc >> ~/.ssh/known_hosts
1924 - name : secrets
2429 run : ./gradlew uploadArchives
2530 - name : cleanup
2631 run : rm publish_key
27- - uses : actions/upload-artifact@v2-preview
32+ - uses : actions/upload-artifact@v6
2833 with :
2934 name : UniversalModCore-${{ env.ref }}
3035 path : build/libs/UniversalModCore-*.jar
You can’t perform that action at this time.
0 commit comments