Skip to content

Commit

Permalink
update set-output syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
anoburn committed Jul 12, 2024
1 parent e50198a commit 00dc52a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ jobs:
ARTIFACT_NAME="${{ matrix.board }}-zmk-ardux"
fi
echo ::set-output name=shield-arg::${SHIELD_ARG}
echo ::set-output name=artifact-name::${ARTIFACT_NAME}
echo shield-arg=${SHIELD_ARG} >>$GITHUB_OUTPUT
echo artifact-name=${ARTIFACT_NAME} >>$GITHUB_OUTPUT
- name: Build (west build)
run: west build -s zmk/app -b ${{ matrix.board }} -- ${{ steps.variables.outputs.shield-arg }} -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
- name: ARDUX implementation dtsi file
Expand Down Expand Up @@ -135,15 +135,15 @@ jobs:
steps:
- name: Get current date/time
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d-%H%M')"
run: echo "date=$(date +'%Y%m%d-%H%M')" >>$GITHUB_OUTPUT
- name: Generate release text
id: release_text
run: >
echo "::set-output name=release_text::$(echo '<b>Precompiled firmware files for ARDUX</b><br><br>
echo "release_text=$(echo '<b>Precompiled firmware files for ARDUX</b><br><br>
Download a firmware file by expanding "Assets", right clicking, and choosing "Save File As" or "Save Link As".
<br>${{ github.event.inputs.releaseBody }}
<br>Released on ${{ steps.date.outputs.date }}.
<br><br>${{ steps.docker_build.outputs.commits }}')"
<br><br>${{ steps.docker_build.outputs.commits }}')" >>$GITHUB_OUTPUT
- name: Download build artifacts for release
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 00dc52a

Please sign in to comment.