Skip to content

Commit

Permalink
Simplified publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianTodt committed Nov 3, 2021
1 parent 75bfcf8 commit b4158c2
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle

name: Gradle Package
name: publish

on:
release:
Expand Down Expand Up @@ -46,12 +46,3 @@ jobs:
env:
MCD_USERNAME: ${{ secrets.MCD_USERNAME }}
MCD_PASSWORD: ${{ secrets.MCD_PASSWORD }}

- name: stop gradle
run: ./gradlew --stop
- name: capture build artifacts
if: ${{ matrix.java == '16' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v2
with:
name: Artifacts
path: build/libs/

0 comments on commit b4158c2

Please sign in to comment.