Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

chore: Replace deprecated command with environment file #636

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions .github/workflows/cron-master-on-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ jobs:
run: |
LATEST_RELEASE=`gh release list --repo argoproj/argo-cd | grep "$RELEASE_LIST_SEARCH_STRING" | head -n 1 | cut -f 1`
echo Latest release for $RELEASE_LIST_SEARCH_STRING is $LATEST_RELEASE
echo "::set-output name=latestRelease::$LATEST_RELEASE"
echo "latestRelease=$LATEST_RELEASE" >> $GITHUB_OUTPUT

- name: Call GitHub CLI to find latest stable ApplicationSet release
id: get-appset-stable
run: |
LATEST_RELEASE=`gh release list --repo argoproj-labs/applicationset | grep "Latest" | cut -f 1`
echo Latest release for ApplicationSet is $LATEST_RELEASE
echo "::set-output name=latestRelease::$LATEST_RELEASE"
echo "latestRelease=$LATEST_RELEASE" >> $GITHUB_OUTPUT


- name: Checkout latest Argo CD code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cron-stable-on-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
run: |
LATEST_RELEASE=`gh release list --repo argoproj/argo-cd | grep "$RELEASE_LIST_SEARCH_STRING" | head -n 1 | cut -f 1`
echo Latest release for $RELEASE_LIST_SEARCH_STRING is $LATEST_RELEASE
echo "::set-output name=latestRelease::$LATEST_RELEASE"
echo "latestRelease=$LATEST_RELEASE" >> $GITHUB_OUTPUT

- name: Call GitHub CLI to find latest stable ApplicationSet release
id: get-appset-stable
run: |
LATEST_RELEASE=`gh release list --repo argoproj-labs/applicationset | grep "Latest" | cut -f 1`
echo Latest release for ApplicationSet is $LATEST_RELEASE
echo "::set-output name=latestRelease::$LATEST_RELEASE"
echo "latestRelease=$LATEST_RELEASE" >> $GITHUB_OUTPUT


- name: Checkout latest Argo CD code
Expand Down