Skip to content

Commit

Permalink
Merge pull request #302 from jongwooo/chore/replace-deprecated-comman…
Browse files Browse the repository at this point in the history
…d-with-environment-file

Replace deprecated command with environment file
  • Loading branch information
jetstack-bot authored Feb 22, 2024
2 parents 4a9dcdd + a5fdcb4 commit 8f20241
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/on-safe-to-test-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ jobs:
echo PATH=$PATH >> $GITHUB_ENV
- name: Setup Cache variables
id: go-cache-paths
shell: bash
run: |
echo "::set-output name=go-build::${{ env.GOCACHE }}"
echo "::set-output name=go-mod::${{ env.GOMODCACHE }}"
echo "go-build=${{ env.GOCACHE }}" >> $GITHUB_OUTPUT
echo "go-mod=${{ env.GOMODCACHE }}" >> $GITHUB_OUTPUT
- name: Go-Build Cache # Cache go build cache, used to speedup go test
uses: actions/cache@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ jobs:
changed_charts=$( (echo $FILES | grep -q -E "${CHARTS_DIR}/[[:graph:]]*\.yaml" && echo true) || echo false )
if $changed_config && ! $changed_charts; then
echo "::set-output name=result::config"
echo "result=config" >> $GITHUB_OUTPUT
elif $changed_charts && ! $changed_config; then
echo "::set-output name=result::charts"
echo "result=charts" >> $GITHUB_OUTPUT
else
echo "::set-output name=result::both"
echo "result=both" >> $GITHUB_OUTPUT
fi
- name: Copy changed config CRDs to chart
Expand Down

0 comments on commit 8f20241

Please sign in to comment.