mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-24 10:34:22 +00:00
issues-template: add option / common.yml: add support github release (#251)
* Auto Sync From * Auto Sync From8MiYile/15-develop.zip * Auto Sync From 8MiYile / 15-develop * Auto Sync From 8MiYile / 15-develop * Auto Sync From 8MiYile / MCCustomSkinLoader / 15-develop * Auto Sync From 8MiYile / MCCustomSkinLoader / 15-develop --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
4ce00d07b5
commit
3e5bd83b5c
3 files changed
+54
-17
No files matched your search
@@ -39,7 +39,22 @@ jobs:
|
||||
export GIT_COMMIT_DESC=$(git log --format=%B -n 1 $GITHUB_SHA)
|
||||
./gradlew clean build --stacktrace
|
||||
-
|
||||
name: Publish
|
||||
uses: actions/upload-artifact@v3
|
||||
name: Publish to Github Artifact
|
||||
with:
|
||||
name: CustomSkinLoader-${{ inputs.type }}-${{ github.run_number }}
|
||||
path: build/libs
|
||||
-
|
||||
uses: softprops/action-gh-release@v1
|
||||
name: Publish to Github release
|
||||
if: ${{ inputs.publish-task }}
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
files: |
|
||||
build/libs/*
|
||||
tag_name: ${{ github.ref }}
|
||||
-
|
||||
name: Publish to CurseForge/Modrinth
|
||||
if: ${{ inputs.publish-task }}
|
||||
env:
|
||||
COS_BUCKET: ${{ secrets.COS_BUCKET }}
|
||||
@@ -51,9 +66,4 @@ jobs:
|
||||
run: |
|
||||
export GIT_COMMIT_DESC=$(git log --format=%B -n 1 $GITHUB_SHA)
|
||||
./gradlew ${{ inputs.publish-task }} --info --stacktrace
|
||||
# ./gradlew publishGprPublicationToGitHubPackagesRepository
|
||||
-
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: CustomSkinLoader-${{ inputs.type }}-${{ github.run_number }}
|
||||
path: build/libs
|
||||
# ./gradlew publishGprPublicationToGitHubPackagesRepository
|
||||
Reference in new issue
Block a user