Skip to content

Commit 6d96da4

Browse files
committed
Update build action, removes need for runData
1 parent c3265e2 commit 6d96da4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/test-build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,34 @@ on:
88

99
jobs:
1010
build:
11-
name: Gradle Build and Publish
11+
name: Gradle Build
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
1618
- name: Set up JDK 1.8
1719
uses: actions/setup-java@v1
1820
with:
1921
java-version: 1.8
22+
2023
- name: Cache Gradle packages
2124
uses: actions/cache@v2
2225
with:
2326
path: ~/.gradle/caches
2427
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
2528
restore-keys: ${{ runner.os }}-gradle
29+
2630
- name: Grant execute permission for gradlew
2731
run: chmod +x gradlew
28-
- name: Generate Data
29-
run: ./gradlew runData
32+
3033
- name: Build with Gradle
3134
run: ./gradlew jar
3235
env:
3336
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
3437
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
3539
- name: Add Artifact
3640
uses: actions/upload-artifact@v2
3741
with:

0 commit comments

Comments
 (0)