Skip to content

Commit 9bd1785

Browse files
committed
Add --refresh-dependencies to workflow build
1 parent 9fabc4b commit 9bd1785

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
java-version: 17
2323
check-latest: true
2424
- name: Build with Gradle
25-
run: ./gradlew build
25+
run: ./gradlew build --refresh-dependencies

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
env:
2727
HANGAR_TOKEN: ${{ secrets.HANGAR_TOKEN }}
2828
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
29-
run: ./gradlew build modrinth publishAllPublicationsToHangar --stacktrace
29+
run: ./gradlew build modrinth publishAllPublicationsToHangar --refresh-dependencies --stacktrace

0 commit comments

Comments
 (0)