Skip to content

Commit

Permalink
attempt to fix publishing 3
Browse files Browse the repository at this point in the history
  • Loading branch information
PinkGoosik committed Jan 23, 2024
1 parent 618d9f7 commit ab119c0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,18 @@ jobs:
run: chmod +x ./gradlew
- name: Build
run: ./gradlew build
- uses: BrycensRanch/read-properties-action@v1
id: gradle_props
with:
file: gradle.properties
all: true
- name: Capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: |
fabric/build/libs/
neoforge/build/libs/
fabric/build/libs/winterly-fabric-${{ steps.gradle_props.outputs.mod_version }}.jar
fabric/build/libs/winterly-fabric-${{ steps.gradle_props.outputs.mod_version }}-sources.jar
neoforge/build/libs/winterly-neoforge-${{ steps.gradle_props.outputs.mod_version }}.jar
neoforge/build/libs/winterly-neoforge-${{ steps.gradle_props.outputs.mod_version }}-sources.jar
4 changes: 2 additions & 2 deletions .github/workflows/publish-curseforge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
retry-attempts: 2
retry-delay: 10000
fail-mode: fail
fail-mode: skip

- name: Publish neoforge artifacts
uses: Kir-Antipov/[email protected]
Expand Down Expand Up @@ -86,4 +86,4 @@ jobs:
retry-attempts: 2
retry-delay: 10000
fail-mode: fail
fail-mode: skip
4 changes: 2 additions & 2 deletions .github/workflows/publish-modrinth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
retry-attempts: 2
retry-delay: 10000
fail-mode: fail
fail-mode: skip

- name: Publish neoforge artifacts
uses: Kir-Antipov/[email protected]
Expand Down Expand Up @@ -86,4 +86,4 @@ jobs:
retry-attempts: 2
retry-delay: 10000
fail-mode: fail
fail-mode: skip

0 comments on commit ab119c0

Please sign in to comment.