mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-26 17:46:25 -05:00
15465aaaf5
* Publish releases using github actions * # Conflicts: # build.gradle * Remove build number + add task to check version has not already been released
18 lines
629 B
YAML
18 lines
629 B
YAML
name: Release
|
|
on: [workflow_dispatch] # Manual trigger
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
container:
|
|
image: openjdk:15-jdk
|
|
options: --user root
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: gradle/wrapper-validation-action@v1
|
|
- run: ./gradlew checkVersion build publish curseforge github --stacktrace
|
|
env:
|
|
MAVEN_URL: ${{ secrets.MAVEN_URL }}
|
|
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
|
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
|
|
CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|