Skip to content

Commit 0c85574

Browse files
authored
Update test-build.yml
1 parent 88e6a97 commit 0c85574

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/test-build.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,23 +78,23 @@ jobs:
7878
path: ~/.gradle/caches
7979
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
8080
restore-keys: ${{ runner.os }}-gradle
81+
82+
- name: Grant execute permission for gradlew
83+
run: chmod +x gradlew
8184

82-
- name: Grant execute permission for gradlew
83-
run: chmod +x gradlew
85+
- name: Build JAR
86+
run: /gradlew jar
8487

85-
- name: Build JAR
86-
run: /gradlew jar
88+
- name: Do Upload
89+
run: ./gradlew curseforge
90+
env:
91+
CF_TOKEN: ${{ secrets.CF_API_TOKEN }}
8792

88-
- name: Do Upload
89-
run: ./gradlew curseforge
90-
env:
91-
CF_TOKEN: ${{ secrets.CF_API_TOKEN }}
92-
93-
- name: Add Artifact
94-
uses: actions/upload-artifact@v2
95-
with:
96-
name: result
97-
path: .
93+
- name: Add Artifact
94+
uses: actions/upload-artifact@v2
95+
with:
96+
name: result
97+
path: .
9898

9999
view:
100100
name: View Changelog Output

0 commit comments

Comments
 (0)