Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: adapt usage of gradle-library workflow #124

Merged
merged 2 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:

jobs:
check:
uses: wetransform/gha-workflows/.github/workflows/gradle-library-check.yml@master
uses: wetransform/gha-workflows/.github/workflows/gradle-library-check.yml@ef7e7ff0d5f77914d591c783f3dcf854e3c4e204
with:
java-version: 17

docker:
uses: wetransform/gha-workflows/.github/workflows/gradle-service-check.yml@master
uses: wetransform/gha-workflows/.github/workflows/gradle-service-check.yml@ef7e7ff0d5f77914d591c783f3dcf854e3c4e204
with:
java-version: 17
image-tag: wetransform/hale-cli:latest # image to scan
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@ concurrency:

jobs:
artifacts:
uses: wetransform/gha-workflows/.github/workflows/gradle-library.yml@master
uses: wetransform/gha-workflows/.github/workflows/gradle-library.yml@ef7e7ff0d5f77914d591c783f3dcf854e3c4e204
with:
java-version: 17
gradle-tasks: clean check distZip buildDeb publish
build-tasks: clean check distZip buildDeb
publish-tasks: publish
upload-artifact-path: build/distributions
upload-artifact-name: distributions
secrets:
SLACK_NOTIFICATIONS_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}

docker:
# FIXME both master and devel will push latest - only one should
uses: wetransform/gha-workflows/.github/workflows/gradle-service-publish.yml@master
uses: wetransform/gha-workflows/.github/workflows/gradle-service-publish.yml@ef7e7ff0d5f77914d591c783f3dcf854e3c4e204
with:
java-version: 17
image-tag: wetransform/hale-cli:latest # image to scan
Expand Down
Loading