Skip to content

Commit

Permalink
Rename GITHUB_OUTPUTS -> GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed Sep 4, 2024
1 parent 1b25055 commit 5985006
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/helm-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,16 @@ jobs:
# git diff HEAD~1 deployment/helm/Chart.yaml
# changed=$(git diff HEAD~1 deployment/helm/Chart.yaml | grep --silent "^+version: " && echo true)
# echo $changed
# echo chart_version_changed=$changed >> $GITHUB_OUTPUTS
# echo chart_version_changed=$changed >> $GITHUB_OUTPUT
# Check if current chart version exists in releases
chart_version=$(yq .version deployment/helm/Chart.yaml)
if [[ $(curl https://api.github.com/repos/stackhpc/danswer/releases | jq '.[].tag_name' | grep danswer-helm-$chart_version) ]]; then
echo chart_version_changed=false >> $GITHUB_OUTPUTS
echo chart_version_changed=false >> $GITHUB_OUTPUT
else
echo chart_version_changed=true >> $GITHUB_OUTPUTS
echo chart_version_changed=true >> $GITHUB_OUTPUT
fi
release:
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
Expand Down

0 comments on commit 5985006

Please sign in to comment.