Skip to content

Commit

Permalink
Try to create a new build-release workflow, let's see if this works.
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbot16 committed Sep 6, 2021
1 parent 0251333 commit 0047c38
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-release.yml
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

0 comments on commit 0047c38

Please sign in to comment.