Skip to content

Commit

Permalink
更新工作流组件
Browse files Browse the repository at this point in the history
  • Loading branch information
SugarMGP authored Jul 20, 2024
1 parent 61d6612 commit ef7affe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:

steps:
- name: Clone EOS Repository
uses: actions/[email protected].1
uses: actions/[email protected].7
with:
repository: SugarWorkshop/Evolution-Of-Sugar
ref: 1.16.5
path: EOS-1.16

- name: Set up JDK 1.8
uses: actions/setup-java@v4.0.0
uses: actions/setup-java@v4.2.1
with:
java-version: '8'
distribution: 'zulu'
Expand All @@ -30,7 +30,7 @@ jobs:
run: cd ./EOS-1.16/ && ./gradlew build

- name: Upload Artifact
uses: actions/[email protected].0
uses: actions/[email protected].4
with:
name: EOS Snapshot
path: ./EOS-1.16/build/libs
Expand All @@ -43,7 +43,7 @@ jobs:
tar -cvf EOS-Build.tar ./EOS-Build
- name: Create GitHub Release
uses: softprops/action-gh-release@v0.1.15
uses: softprops/action-gh-release@v2.0.8
if: ${{github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')}}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down

0 comments on commit ef7affe

Please sign in to comment.