Skip to content

Commit

Permalink
ci: fix invalid workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding committed Nov 15, 2024
1 parent 961ddf7 commit 0cd042d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ jobs:
- name: Add build metadata
run: |
echo """
APP_VERSION=${{ needs.app_version.outputs.app_version }}
APP_BUILD=${{ needs.app_build.outputs.app_build }}
APP_GIT_REF=${{ inputs.release_behavior != 'publish_release' && github.sha || needs.app_version.outputs.app_version }}
APP_VERSION=${{ needs.app_version.outputs.app_version }}
""" > .env
echo "wrote .env:"
cat .env
Expand Down Expand Up @@ -111,11 +111,10 @@ jobs:

dispatch_beta_release:
if: inputs.release_behavior != 'publish_release'
needs: [app_build, bump_src]
needs: [bump_src]
uses: ./.github/workflows/build_release.yml
with:
is_main_build: true
app_build: ${{ needs.app_build.outputs.app_build }}
secrets: inherit
permissions:
contents: write # needed for create_release, even though it won't be called
Expand Down

0 comments on commit 0cd042d

Please sign in to comment.