Skip to content

Commit

Permalink
Merge pull request #21 from RomualdRousseau/feature/new-doc-system
Browse files Browse the repository at this point in the history
fix: Fix prod workflow
  • Loading branch information
RomualdRousseau authored Aug 27, 2024
2 parents b5a0bce + d40f60e commit 5ff2194
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: mvn -U -B clean initialize --projects :${{ inputs.service }} --also-make

- name: Build project
run: mvn -B package -DskipTests --projects :${{ inputs.service }} --also-make
run: mvn -U -B package -DskipTests --projects :${{ inputs.service }} --also-make

- name: Archive build artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: mvn -U -B clean initialize

- name: Deploy project
run: mvn -B install
run: mvn -U -B -DskipTests install

- name: Build documentation
run: mvn -B -P documentation site site:stage
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Deploy project
run: |
export GPG_TTY=$(tty)
mvn -B deploy -P release -s .mvn/settings.xml
mvn -U -B deploy -P release -s .mvn/settings.xml
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-deploy-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: mvn -U -B clean initialize

- name: Deploy project snapshot
run: mvn -B deploy -P snapshot -s .mvn/settings.xml
run: mvn -U -B deploy -P snapshot -s .mvn/settings.xml
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/maven-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
run: mvn -U -B clean initialize --projects :${{ inputs.service }} --also-make

- name: Test project
run: mvn -B test --projects :${{ inputs.service }} --also-make
run: mvn -U -B test --projects :${{ inputs.service }} --also-make
1 change: 0 additions & 1 deletion .github/workflows/shuju-monorepo-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
secrets: inherit

deploy-doc:
needs: [deploy-prod]
uses: ./.github/workflows/maven-deploy-doc.yml
with:
version: ${{ github.event.release.tag_name }}

0 comments on commit 5ff2194

Please sign in to comment.