forked from IrisShaders/Iris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to create a new build-release workflow, let's see if this works.
- Loading branch information
1 parent
0251333
commit 0047c38
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: build-release | ||
|
||
on: [ workflow_dispatch ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- name: Fetch the Sodium fork | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: 'IrisShaders/sodium-fabric' | ||
ref: '1.16.x/iris' | ||
path: 'sodium' | ||
- name: Build initial Iris artifacts | ||
run: ./gradlew publishToMavenLocal | ||
- name: Build initial Sodium artifacts | ||
run: cd ./sodium && ./gradlew publishToMavenLocal && cd .. | ||
- name: Build combined Iris + Sodium jar | ||
run: ./gradlew bundleWithSodium | ||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: build-artifacts | ||
path: build/libs |