mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-26 12:43:01 +00:00
36 lines
903 B
YAML
36 lines
903 B
YAML
name: release
|
|
on:
|
|
push:
|
|
branches:
|
|
- '14-release'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v3
|
|
-
|
|
name: Set up JDK
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: '8'
|
|
cache: 'gradle'
|
|
-
|
|
name: Build
|
|
run: |
|
|
export GIT_COMMIT_DESC=$(git log --format=%B -n 1 $GITHUB_SHA)
|
|
./gradlew clean build --stacktrace
|
|
-
|
|
name: Publish
|
|
run: |
|
|
export GIT_COMMIT_DESC=$(git log --format=%B -n 1 $GITHUB_SHA)
|
|
./gradlew upload --info --stacktrace
|
|
# ./gradlew publishGprPublicationToGitHubPackagesRepository
|
|
-
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: CustomSkinLoader-Beta-${{ env.GITHUB_RUN_NUMBER }}
|
|
path: build/libs |