Skip to content

Commit

Permalink
rename step
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Feb 9, 2024
1 parent 48ff97f commit 9adc9a0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
description: "Dry run: setting this to `true` will skip the final step of publishing the release, leaving it as a draft-release. This can be helpful for testing and debugging. Note that the tag and release are still getting generated and the next run of this result in incremented release version. To avoid this, do not forget to delete the resulting release and tag."

jobs:
verify-release:
generate-version:
name: Verify release
runs-on: ubuntu-latest
outputs:
Expand All @@ -30,10 +30,10 @@ jobs:
bump-sec-scanners-config:
name: Bump sec-scanners-config.yaml
needs: verify-release
needs: generate-version
runs-on: ubuntu-latest
env:
VERSION: ${{ needs.verify-release.outputs.VERSION }}
VERSION: ${{ needs.generate-version.outputs.VERSION }}

steps:
- name: Checkout code
Expand Down Expand Up @@ -179,10 +179,10 @@ jobs:
create-draft:
name: Create draft release
needs: [verify-release, bump-sec-scanners-config]
needs: [generate-version, bump-sec-scanners-config]
runs-on: ubuntu-latest
env:
VERSION: ${{ needs.verify-release.outputs.VERSION }}
VERSION: ${{ needs.generate-version.outputs.VERSION }}
outputs:
release_id: ${{ steps.create-draft.outputs.release_id }}

Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:

- name: Create and upload eventing-manager.yaml and eventing-default-cr.yaml
env:
PULL_BASE_REF: ${{ needs.verify-release.outputs.VERSION }}
PULL_BASE_REF: ${{ needs.generate-version.outputs.VERSION }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IMG: "europe-docker.pkg.dev/kyma-project/prod/eventing-manager:${VERSION}"
MODULE_REGISTRY: "europe-docker.pkg.dev/kyma-project/prod/unsigned"
Expand All @@ -227,7 +227,7 @@ jobs:
publish-release:
name: Publish release
if: ${{ !inputs.DRY_RUN }}
needs: [verify-release, create-draft]
needs: [generate-version, create-draft]
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 9adc9a0

Please sign in to comment.