Skip to content

Commit 45de416

Browse files
Merge remote-tracking branch 'origin/forge_1.12.2' into forge_1.11.2
2 parents 94d7f82 + 0116d17 commit 45de416

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@ jobs:
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
@@ -24,7 +29,7 @@ jobs:
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

0 commit comments

Comments
 (0)