Skip to content

新增一个选项用于禁用 Sodium 对于 PojavLauncher 的警告 (1.20.1-Holy) #1

新增一个选项用于禁用 Sodium 对于 PojavLauncher 的警告 (1.20.1-Holy)

新增一个选项用于禁用 Sodium 对于 PojavLauncher 的警告 (1.20.1-Holy) #1

# Used when building external pull requests
# We don't want to publish build artifacts or expose our other caches to possibly untrusted code
name: build-pull-request
on: [ pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Initialize caches
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/loom-cache
~/.gradle/wrapper
key: ${{ runner.os }}-build-external-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-build-external-
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
- name: Build artifacts
run: ./gradlew build