mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
Upload GH artifacts before publish
This commit is contained in:
parent
088fc35435
commit
35278c6e90
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -34,6 +34,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
chmod +x gradlew
|
chmod +x gradlew
|
||||||
./gradlew build --stacktrace
|
./gradlew build --stacktrace
|
||||||
|
- name: Upload Artifacts
|
||||||
|
uses: actions/upload-artifact@master
|
||||||
|
with:
|
||||||
|
name: EssentialsX plugin jars
|
||||||
|
path: jars/
|
||||||
- name: Deploy with Gradle
|
- name: Deploy with Gradle
|
||||||
if: ${{ success() && github.event_name == 'push' && github.repository == 'EssentialsX/Essentials' && github.ref == 'refs/heads/2.x' }}
|
if: ${{ success() && github.event_name == 'push' && github.repository == 'EssentialsX/Essentials' && github.ref == 'refs/heads/2.x' }}
|
||||||
env:
|
env:
|
||||||
@ -41,8 +46,3 @@ jobs:
|
|||||||
ORG_GRADLE_PROJECT_essxPassword: ${{ secrets.ESSENTIALSX_DEPLOY_PASSWORD }}
|
ORG_GRADLE_PROJECT_essxPassword: ${{ secrets.ESSENTIALSX_DEPLOY_PASSWORD }}
|
||||||
run: |
|
run: |
|
||||||
./gradlew publish
|
./gradlew publish
|
||||||
- name: Upload Artifacts
|
|
||||||
uses: actions/upload-artifact@master
|
|
||||||
with:
|
|
||||||
name: EssentialsX plugin jars
|
|
||||||
path: jars/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user