mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-12 22:27:37 +00:00
36 lines
853 B
YAML
36 lines
853 B
YAML
name: beta
|
|
on:
|
|
push:
|
|
branches:
|
|
- '14-develop'
|
|
|
|
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 uploadBeta --info --stacktrace
|
|
-
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: CustomSkinLoader-Beta-${{ github.run_number }}
|
|
path: build/libs |