-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build): switch to new release action
- Loading branch information
1 parent
258650b
commit e3b10b0
Showing
1 changed file
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,8 @@ jobs: | |
maven-release: | ||
name: Publish extension's release version to maven repository | ||
needs: [ release-version ] | ||
# TODO: remove | ||
continue-on-error: true | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
|
@@ -91,6 +93,8 @@ jobs: | |
docker-release: | ||
name: Publish Docker images | ||
runs-on: ubuntu-latest | ||
# TODO: remove | ||
continue-on-error: true | ||
needs: [ release-version ] | ||
permissions: | ||
contents: write | ||
|
@@ -126,6 +130,8 @@ jobs: | |
name: Publish new helm release | ||
needs: [ release-version ] | ||
runs-on: ubuntu-latest | ||
# TODO: remove | ||
continue-on-error: true | ||
permissions: | ||
contents: write | ||
packages: write | ||
|
@@ -197,17 +203,14 @@ jobs: | |
# Create & push tag | ||
git tag --force ${{ env.RELEASE_VERSION }} | ||
git push --force origin ${{ env.RELEASE_VERSION }} | ||
- name: Create Github Release | ||
id: create_release | ||
uses: thomaseizinger/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Create GitHub Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
target_commitish: ${{ github.event.pull_request.merge_commit_sha }} | ||
tag_name: ${{ env.RELEASE_VERSION }} | ||
name: ${{ env.RELEASE_VERSION }} | ||
draft: false | ||
prerelease: false | ||
generateReleaseNotes: true | ||
tag: ${{ env.RELEASE_VERSION }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
makeLatest: true | ||
removeArtifacts: true | ||
- uses: ./.github/actions/setup-java | ||
- name: Merge releases back into main and set new snapshot version | ||
if: github.event.pull_request.base.ref == 'releases' | ||
|