Skip to content

Commit

Permalink
Merge pull request #16 from dvsa/feat-vol-5327-b
Browse files Browse the repository at this point in the history
moved env and secret setting
  • Loading branch information
sdh100shaun authored May 18, 2024
2 parents 87e677f + df43afc commit d60425e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
id: release
with:
release-type: maven



publish:
if: ${{needs.release-please.outputs.release_created}}
runs-on: ubuntu-latest
Expand All @@ -43,11 +42,13 @@ jobs:

push:
if: ${{needs.release-please.outputs.release_created}}
permissions:
contents: read
packages: write

name: Publish to GitHub Packages Apache Maven
uses: ./.github/workflows/maven.yaml
secrets: inherit
with:
maven-goal: deploy



needs: release-please
2 changes: 2 additions & 0 deletions .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ permissions:
jobs:
build:
name: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit d60425e

Please sign in to comment.