Skip to content

Commit

Permalink
Replace use of set-output in GitHub workflows with Environment Files
Browse files Browse the repository at this point in the history
  • Loading branch information
nightlark committed Jan 12, 2024
1 parent a7a1b99 commit 3f85376
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
unset DEPTH
if [ -n '${{ github.event.inputs.commit }}' ]; then DEPTH='0'; else DEPTH='1'; fi
echo "::set-output name=DEPTH::${DEPTH}"
echo "DEPTH=${DEPTH}" >> $GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
run: |
unset DEPTH
if [ -n '${{ github.event.inputs.commit }}' ]; then DEPTH='0'; else DEPTH='1'; fi
echo "::set-output name=DEPTH::${DEPTH}"
echo "DEPTH=${DEPTH}" >> $GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
run: |
unset DEPTH
if [ -n '${{ github.event.inputs.commit }}' ]; then DEPTH='0'; else DEPTH='1'; fi
echo "::set-output name=DEPTH::${DEPTH}"
echo "DEPTH=${DEPTH}" >> $GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
run: |
unset DEPTH
if [ -n '${{ github.event.inputs.commit }}' ]; then DEPTH='0'; else DEPTH='1'; fi
echo "::set-output name=DEPTH::${DEPTH}"
echo "DEPTH=${DEPTH}" >> $GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 3f85376

Please sign in to comment.