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

Check released artifact at maven.org and then register release #40

Merged
merged 5 commits into from
Oct 6, 2023
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
17 changes: 17 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# .github/release.yml

changelog:
categories:
- title: New features and enhancements
labels:
- '*'
exclude:
labels:
- dependencies
- bug
- title: Bugfixes
labels:
- bug
- title: Dependencies
labels:
- dependencies
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request, workflow_dispatch]

jobs:
run-build-and-deploy:
uses: octopusden/octopus-base/.github/workflows/[email protected].3
uses: octopusden/octopus-base/.github/workflows/[email protected].7
with:
flow-type: hybrid
java-version: '11'
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/check-and-register.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Check for artifact and register release

on:
workflow_run:
workflows: ["Gradle Release"]
types:
- completed

jobs:
build:
uses: octopusden/octopus-base/.github/workflows/[email protected]
if: "${{ github.event.workflow_run.conclusion == 'success' }}"
with:
artifact-pattern: "octopus-employee/employee-service/_VER_/employee-service-_VER_.jar"
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build:
uses: octopusden/octopus-base/.github/workflows/[email protected].3
uses: octopusden/octopus-base/.github/workflows/[email protected].7
with:
flow-type: hybrid
java-version: '11'
Expand Down