Skip to content

Commit

Permalink
updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Oct 16, 2024
1 parent 13ae1e2 commit 804f464
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ name: StructureLib Nightly
on:
push:
branches:
- 1.18-port
- 1.18.2
- 1.19.2
pull_request:
branches:
- 1.18-port
- 1.18.2
- 1.19.2
jobs:
build:

Expand Down Expand Up @@ -40,15 +42,15 @@ jobs:
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle
- name: Upload Forge Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: StructureLib-forge-nightly-${{ steps.vars.outputs.sha_short }}
path: forge/build/libs
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Fabric Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: StructureLib-fabric-nightly-${{ steps.vars.outputs.sha_short }}
path: fabric/build/libs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
GITHUB_RELEASE: true
- name: Upload Forge Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: StructureLib-forge-nightly-${{ steps.vars.outputs.sha_short }}
path: forge/build/libs
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Fabric Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: StructureLib-fabric-nightly-${{ steps.vars.outputs.sha_short }}
path: fabric/build/libs
Expand Down

0 comments on commit 804f464

Please sign in to comment.