mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-26 18:33:00 +00:00
Add: upload beta to cos
This commit is contained in:
1 parent
0b000731b5
commit
264aacc8c0
5 files changed
+74
-29
No files matched your search
@@ -1,9 +1,8 @@
|
||||
name: develop
|
||||
name: beta
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '14-develop'
|
||||
- '15-develop'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -28,10 +27,9 @@ jobs:
|
||||
name: Publish
|
||||
run: |
|
||||
export GIT_COMMIT_DESC=$(git log --format=%B -n 1 $GITHUB_SHA)
|
||||
# ./gradlew upload --info --stacktrace
|
||||
# ./gradlew publishGprPublicationToGitHubPackagesRepository
|
||||
./gradlew uploadBeta --info --stacktrace
|
||||
-
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: develop-build
|
||||
name: CustomSkinLoader-Beta-${{ GITHUB_RUN_NUMBER }}
|
||||
path: build/libs
|
||||
@@ -0,0 +1,35 @@
|
||||
name: canary
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '15-develop'
|
||||
|
||||
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 uploadCanary --info --stacktrace
|
||||
-
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: CustomSkinLoader-Canary-${{ GITHUB_RUN_NUMBER }}
|
||||
path: build/libs
|
||||
@@ -32,5 +32,5 @@ jobs:
|
||||
-
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: release-build
|
||||
name: CustomSkinLoader-Beta-${{ GITHUB_RUN_NUMBER }}
|
||||
path: build/libs
|
||||
Reference in new issue
Block a user