Skip to content

Commit

Permalink
regression: Publish package in gh pipeline (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback authored Jun 5, 2023
1 parent e5fff28 commit 3434e6a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/springwolf-amqp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Publish package
if: github.ref == 'refs/heads/master'
run: ./gradlew -p ${{ env.project }} publish
run: ./gradlew -p ${{ env.plugin }} publish
env:
ORG_GRADLE_PROJECT_SNAPSHOT: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/springwolf-cloud-stream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Publish package
if: github.ref == 'refs/heads/master'
run: ./gradlew -p ${{ env.project }} publish
run: ./gradlew -p ${{ env.plugin }} publish
env:
ORG_GRADLE_PROJECT_SNAPSHOT: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/springwolf-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Publish package
if: github.ref == 'refs/heads/master'
run: ./gradlew -p ${{ env.project }} publish
run: ./gradlew -p ${{ env.plugin }} publish
env:
ORG_GRADLE_PROJECT_SNAPSHOT: true

Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/springwolf-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ on:
pull_request:
types: [ opened, synchronize, ready_for_review ]

env:
project: springwolf-ui

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3
Expand All @@ -31,11 +34,11 @@ jobs:
uses: gradle/gradle-build-action@v2

- name: Build
run: ./gradlew -p springwolf-ui build
run: ./gradlew -p ${{ env.project }} build

- name: Publish package
if: github.ref == 'refs/heads/master'
run: ./gradlew -p springwolf-ui publish
run: ./gradlew -p ${{ env.project }} publish
env:
ORG_GRADLE_PROJECT_SNAPSHOT: true

Expand All @@ -47,9 +50,9 @@ jobs:

- name: Build gh-pages
if: github.ref == 'refs/heads/master'
run: ./gradlew -p springwolf-ui buildPages
run: ./gradlew -p ${{ env.project }} buildPages
- name: Deploy to gh pages 🚀
if: github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: springwolf-ui/dist/springwolf-ui/
folder: ${{ env.project }}/dist/springwolf-ui/

0 comments on commit 3434e6a

Please sign in to comment.