mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-29 11:59:24 +00:00
Updated Upstream (Leaf)
This commit is contained in:
18
.github/workflows/build-1204.yml
vendored
18
.github/workflows/build-1204.yml
vendored
@@ -32,15 +32,15 @@ jobs:
|
||||
- name: Rename Paperclip Jar
|
||||
run: mv build/libs/leaf-paperclip-1.20.4-R0.1-SNAPSHOT-reobf.jar ./leaf-1.20.4.jar
|
||||
|
||||
- name: Publish API
|
||||
if: github.event_name != 'pull_request'
|
||||
run: |
|
||||
echo "GITHUB_USERNAME=Leaf" >> $GITHUB_ENV
|
||||
export GITHUB_USERNAME=Leaf
|
||||
echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
|
||||
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
|
||||
./gradlew :leaf-api:publish
|
||||
./gradlew publishDevBundlePublicationToLeafRepository -PpublishDevBundle=true
|
||||
# - name: Publish API
|
||||
# if: github.event_name != 'pull_request'
|
||||
# run: |
|
||||
# echo "GITHUB_USERNAME=Leaf" >> $GITHUB_ENV
|
||||
# export GITHUB_USERNAME=Leaf
|
||||
# echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
|
||||
# export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
|
||||
# ./gradlew :leaf-api:publish
|
||||
# ./gradlew publishDevBundlePublicationToLeafRepository -PpublishDevBundle=true
|
||||
|
||||
- name: Upload Leaf
|
||||
uses: actions/upload-artifact@main
|
||||
|
||||
Reference in New Issue
Block a user