mirror of https://github.com/FabricMC/yarn.git
Update github actions, add auto PR labeling action. (#3401)
This commit is contained in:
parent
e107424eba
commit
d66a79f45c
|
@ -10,12 +10,12 @@ jobs:
|
|||
image: openjdk:${{ matrix.java }}
|
||||
options: --user root
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- run: ./gradlew build javadocJar checkMappings --stacktrace --warning-mode fail
|
||||
- name: Build artifacts
|
||||
if: ${{ matrix.java == '18-jdk' }}
|
||||
continue-on-error: true
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Artifacts
|
||||
path: build/libs/
|
||||
|
@ -26,6 +26,6 @@ jobs:
|
|||
image: openjdk:18-jdk
|
||||
options: --user root
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- run: ./gradlew :filament:build
|
||||
|
|
|
@ -9,7 +9,7 @@ jobs:
|
|||
image: openjdk:18-jdk
|
||||
options: --user root
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
# Generate the build number based on tags to allow per branch build numbers, not something github provides by default.
|
||||
- name: Generate build number
|
||||
id: buildnumber
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
image: openjdk:18-jdk
|
||||
options: --user root
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- run: ./gradlew :filament:build :filament:publish --stacktrace
|
||||
env:
|
||||
MAVEN_URL: ${{ secrets.MAVEN_URL }}
|
||||
|
|
|
@ -9,6 +9,6 @@ jobs:
|
|||
if: ${{ github.event.label.name == 'update-base' }}
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: FabricMC/fabric-action-scripts@v1
|
||||
- uses: FabricMC/fabric-action-scripts@v2
|
||||
with:
|
||||
context: yarn-update-base
|
|
@ -0,0 +1,14 @@
|
|||
name: Update Base Branch
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [ opened ]
|
||||
|
||||
jobs:
|
||||
update:
|
||||
if: ${{ github.event.label.name == 'update-base' }}
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: FabricMC/fabric-action-scripts@v2
|
||||
with:
|
||||
context: yarn-version-label
|
Loading…
Reference in New Issue