From 272a19e59d0567d2306efb18d99dd867335d692c Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 16 May 2023 10:07:37 -0500 Subject: [PATCH] updating set-output (#450) * updating set-output * add back run, move comment --- .github/workflows/integration.yml | 3 ++- .github/workflows/main.yml | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 88a568ea4..07631e4e2 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -194,7 +194,8 @@ jobs: - name: Get current date if: always() id: date - run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H_%M_%S')" #no colons allowed for artifacts + run: | + echo "date=$(date +'%Y-%m-%dT%H_%M_%S')" >> $GITHUB_OUTPUT #no colons allowed for artifacts - uses: actions/upload-artifact@v3 if: always() diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c70434111..9137fe91d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -102,7 +102,9 @@ jobs: - name: Get current date if: always() id: date - run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H_%M_%S')" #no colons allowed for artifacts + #no colons allowed for artifacts + run: | + echo "date=$(date +'%Y-%m-%dT%H_%M_%S')" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@v3 if: always() @@ -154,8 +156,7 @@ jobs: run: | export is_alpha=0 if [[ "$(ls -lh dist/)" == *"a1"* ]]; then export is_alpha=1; fi - echo "::set-output name=is_alpha::$is_alpha" - + echo "is_alpha=$is_alpha" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@v3 with: name: dist