Skip to content

Commit

Permalink
Update to build action
Browse files Browse the repository at this point in the history
  • Loading branch information
jie65535 committed Dec 17, 2023
1 parent 67b34e7 commit 497d13e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- "**.java"
branches:
- "master"
- "LunarCode"
pull_request:
paths:
- "**.java"
Expand Down Expand Up @@ -35,7 +36,7 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Download latest grasscutter jar
run: wget https://nightly.link/Grasscutters/Grasscutter/workflows/build/development/Grasscutter.zip && mkdir lib && unzip Grasscutter.zip -d lib
run: wget https://nightly.link/Melledy/LunarCore/workflows/build/development/LunarCore.zip && mkdir lib && unzip LunarCore.zip -d lib

- name: Change permission
run: chmod +x gradlew
Expand All @@ -46,5 +47,5 @@ jobs:
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: opencommand
path: opencommand*.jar
name: OpenCommand
path: '*.jar'

0 comments on commit 497d13e

Please sign in to comment.