Skip to content

Commit

Permalink
change execution order of release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgH93 committed Nov 3, 2020
1 parent eb9fd13 commit 91da3b9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ jobs:
mvn -B -s .github/workflows/settings.xml install --file pom.xml
cp Minepacks/target/M*.jar artifacts/
- name: Publish to GitHub Packages Apache Maven
run: 'mvn deploy -pl Minepacks-API,Minepacks -s .github/workflows/settings.xml "-DaltDeploymentRepository=github::default::https://maven.pkg.github.com/GeorgH93/Minepacks"'
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Build with Maven (Standalone)
run: |
mvn -B -s .github/workflows/settings.xml clean install --file pom.xml -P Standalone,ExcludeBadRabbit
Expand All @@ -49,3 +44,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'artifacts/M*'

- name: Publish to GitHub Packages Apache Maven
run: 'mvn clean install deploy -pl Minepacks-API,Minepacks -s .github/workflows/settings.xml "-DaltDeploymentRepository=github::default::https://maven.pkg.github.com/GeorgH93/Minepacks"'
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 91da3b9

Please sign in to comment.