Skip to content

Commit

Permalink
fix: add checkouts
Browse files Browse the repository at this point in the history
  • Loading branch information
ollz272 authored Apr 11, 2023
1 parent 9d5089f commit a759344
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
needs: release
runs-on: ubuntu-latest
steps:
- name: test?
run: echo "${{ needs.release.outputs.new_release_published }}, ${{ needs.release.outputs.new_release_version }}"
- name: Checkout
if: needs.release.outputs.new_release_published == 'true'
uses: actions/checkout@v3
- name: Push to GCR
if: needs.release.outputs.new_release_published == 'true'
uses: RafikFarhad/push-to-gcr-github-action@v5-beta
Expand All @@ -42,6 +43,9 @@ jobs:
runs-on: ubuntu-latest
needs: release
steps:
- name: Checkout
if: needs.release.outputs.new_release_published == 'true'
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
if: needs.release.outputs.new_release_published == 'true'
Expand Down Expand Up @@ -75,6 +79,9 @@ jobs:
runs-on: ubuntu-latest
needs: [release, migrate, gcr-push]
steps:
- name: Checkout
if: needs.release.outputs.new_release_published == 'true'
uses: actions/checkout@v3
- id: auth
if: needs.release.outputs.new_release_published == 'true'
name: Authenticate to Google Cloud
Expand Down

0 comments on commit a759344

Please sign in to comment.