mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-12 18:57:38 +00:00
37 lines
922 B
YAML
37 lines
922 B
YAML
name: release
|
|
on:
|
|
push:
|
|
branches:
|
|
- '14-release'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
environment: Build
|
|
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-${{ github.run_number }}
|
|
path: build/libs |