mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
* First pass on renderdoc support * Fixes and improvements * Fix debugging/cleaner code. * Download from fabric maven * Fix build * Revert changes to AbstractRunTask
34 lines
964 B
YAML
34 lines
964 B
YAML
name: Publish
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'dev/**'
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: setup jdk
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
java-version: 21
|
|
distribution: 'temurin'
|
|
- uses: actions/checkout@v4
|
|
- uses: gradle/actions/wrapper-validation@v4
|
|
|
|
# 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
|
|
uses: FabricMCBot/build-tag-number@7d8df195c4691e1681d458016f75e8bbccdb3375
|
|
with:
|
|
token: ${{ secrets.github_token }}
|
|
prefix: "build/${{ github.ref }}"
|
|
|
|
- run: ./gradlew build publish -x test --stacktrace
|
|
env:
|
|
MAVEN_URL: ${{ secrets.MAVEN_URL }}
|
|
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
|
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} |