Skip to content

Commit

Permalink
Run release after build image job
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulKumar1606 committed Aug 22, 2023
1 parent e7e8285 commit 2dd07d4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ env:
jobs:
build-image:
runs-on: ubuntu-latest

permissions:
actions: read
contents: read
packages: write
security-events: write

steps:
- name: Check out the repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -76,13 +74,13 @@ jobs:
release:
name: Release
needs: build-image
runs-on: ubuntu-latest

steps:

- name: Apply release changes
if: steps.release_guard.outputs.do_release == 'true'
# if: steps.release_guard.outputs.do_release == 'true'
run: |
echo steps.release_guard.outputs.do_release
echo "Apply release changes"
Expand Down

0 comments on commit 2dd07d4

Please sign in to comment.