Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated command with environment file #302

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -92,9 +92,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@v3
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
Loading