Skip to content

Commit a5fee99

Browse files
committed
Attempt number 3
Signed-off-by: Gabriel Harris-Rouquette <[email protected]>
1 parent 533f5bb commit a5fee99

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build-and-deploy.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ jobs:
3030
- name: run number with offset
3131
env:
3232
NUM: ${{ github.GITHUB_RUN_NUMBER }}
33-
run: |
34-
echo "BUILD_NUMBER=$(($NUM+93))" >> $GITHUB_ENV
33+
run: echo "BUILD_NUMBER=$(($NUM+93))" >> $GITHUB_ENV
3534
- name: Build with Gradle
36-
run: ./gradlew clean build
35+
run: ./gradlew --refresh-dependencies -s clean build
3736
env:
3837
CI_SYSTEM: Github Actions
3938
GIT_COMMIT: ${{ github.GITHUB_SHA }}
@@ -47,7 +46,7 @@ jobs:
4746
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
4847
# the publishing section of your build.gradle
4948
- name: Publish to Sponge Maven & GitHub Packages
50-
run: ./gradlew uploadArchives
49+
run: ./gradlew :uploadArchives
5150
env:
5251
GITHUB_USERNAME: ${{ github.actor }}
5352
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)