mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-05 14:36:08 +00:00
Upload GH artifacts before publish
This commit is contained in:
parent
088fc35435
commit
35278c6e90
1 changed files with 5 additions and 5 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -34,6 +34,11 @@ jobs:
|
|||
run: |
|
||||
chmod +x gradlew
|
||||
./gradlew build --stacktrace
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: EssentialsX plugin jars
|
||||
path: jars/
|
||||
- name: Deploy with Gradle
|
||||
if: ${{ success() && github.event_name == 'push' && github.repository == 'EssentialsX/Essentials' && github.ref == 'refs/heads/2.x' }}
|
||||
env:
|
||||
|
@ -41,8 +46,3 @@ jobs:
|
|||
ORG_GRADLE_PROJECT_essxPassword: ${{ secrets.ESSENTIALSX_DEPLOY_PASSWORD }}
|
||||
run: |
|
||||
./gradlew publish
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: EssentialsX plugin jars
|
||||
path: jars/
|
||||
|
|
Loading…
Reference in a new issue