mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
Only publish substantial changes
This is a small general workflow rework based on upstream
This commit is contained in:
21
.github/workflows/publish.yml
vendored
21
.github/workflows/publish.yml
vendored
@@ -2,22 +2,23 @@ name: Java CI
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**.gradle'
|
||||
- '**.properties'
|
||||
- '**/src/**'
|
||||
branches:
|
||||
- 'dev/0.6-forge'
|
||||
- 'dev/0.7-forge'
|
||||
- 'dev/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
container:
|
||||
image: openjdk:8-jdk
|
||||
options: --user root
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- name: Upload to Maven
|
||||
run: ./gradlew publish --stacktrace
|
||||
env:
|
||||
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
|
||||
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
|
||||
|
||||
Reference in New Issue
Block a user