mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-30 03:26:07 -05:00
5ceae78bef
* Jar and PGP sign artifacts.
* Fixes.
* Update remotesign and fixes.
* Update gradle.
* Revert "Update gradle."
This reverts commit 91b96ec2db
.
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
name: Release
|
|
on: [workflow_dispatch] # Manual trigger
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
container:
|
|
image: eclipse-temurin:17-jdk
|
|
options: --user root
|
|
steps:
|
|
- run: apt update && apt install git -y && git --version
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: FabricMC/fabric-action-scripts@v1
|
|
id: changelog
|
|
with:
|
|
context: changelog
|
|
workflow_id: release.yml
|
|
- uses: gradle/wrapper-validation-action@v1
|
|
- run: ./gradlew checkVersion build publish curseforge github modrinth --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 }}
|
|
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
|
CHANGELOG: ${{ steps.changelog.outputs.changelog }}
|
|
SIGNING_SERVER: ${{ secrets.SIGNING_SERVER }}
|
|
SIGNING_PGP_KEY: ${{ secrets.SIGNING_PGP_KEY }}
|
|
SIGNING_JAR_KEY: ${{ secrets.SIGNING_JAR_KEY }}
|