Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Forgot-Dream authored Jun 6, 2024
1 parent 08469be commit 29311b3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: cd two_d_craft
run: cd two_d_craft
- name: Setup cache
uses: actions/[email protected]
with:
Expand All @@ -29,11 +31,11 @@ jobs:

- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./two_d_craft/gradlew
run: chmod +x ./gradlew
- name: build
run: ./two_d_craft/gradlew build
run: ./gradlew build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: two_d_craft/build/libs/
path: build/libs/

0 comments on commit 29311b3

Please sign in to comment.