Skip to content

Commit

Permalink
GHA/build-fw: finish deprecating set-env
Browse files Browse the repository at this point in the history
ran "find . -type f -name "*.yml" -print0 | xargs -0 sed -i -r 's/echo "::set-env name=(.*)::(.*)"/echo "\1=\2" >> $GITHUB_ENV/g'"
according to kubernetes/minikube#9541
  • Loading branch information
SvenRoederer committed Nov 18, 2020
1 parent de282a5 commit ffc6ef4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,70 +57,70 @@ jobs:
echo "running: make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}"
make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}
nextstep=$(make -f Makefile.autobuild next-buildstep-for-${next_buildstep})
echo "::set-env name=next_buildstep::${nextstep}"
echo "next_buildstep=${nextstep}" >>$GITHUB_ENV
- name: openwrt ${{ env.next_buildstep }}
if: ${{ env.next_buildstep != null }}
run: |
echo "running: make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}"
make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}
nextstep=$(make -f Makefile.autobuild next-buildstep-for-${next_buildstep})
echo "::set-env name=next_buildstep::${nextstep}"
echo "next_buildstep=${nextstep}" >>$GITHUB_ENV
- name: openwrt ${{ env.next_buildstep }}
if: ${{ env.next_buildstep != null }}
run: |
echo "running: make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}"
make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}
nextstep=$(make -f Makefile.autobuild next-buildstep-for-${next_buildstep})
echo "::set-env name=next_buildstep::${nextstep}"
echo "next_buildstep=${nextstep}" >>$GITHUB_ENV
- name: openwrt ${{ env.next_buildstep }}
if: ${{ env.next_buildstep != null }}
run: |
echo "running: make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}"
make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}
nextstep=$(make -f Makefile.autobuild next-buildstep-for-${next_buildstep})
echo "::set-env name=next_buildstep::${nextstep}"
echo "next_buildstep=${nextstep}" >>$GITHUB_ENV
- name: openwrt ${{ env.next_buildstep }}
if: ${{ env.next_buildstep != null }}
run: |
echo "running: make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}"
make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}
nextstep=$(make -f Makefile.autobuild next-buildstep-for-${next_buildstep})
echo "::set-env name=next_buildstep::${nextstep}"
echo "next_buildstep=${nextstep}" >>$GITHUB_ENV
- name: openwrt ${{ env.next_buildstep }}
if: ${{ env.next_buildstep != null }}
run: |
echo "running: make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}"
make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}
nextstep=$(make -f Makefile.autobuild next-buildstep-for-${next_buildstep})
echo "::set-env name=next_buildstep::${nextstep}"
echo "next_buildstep=${nextstep}" >>$GITHUB_ENV
- name: openwrt ${{ env.next_buildstep }}
if: ${{ env.next_buildstep != null }}
run: |
echo "running: make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}"
make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}
nextstep=$(make -f Makefile.autobuild next-buildstep-for-${next_buildstep})
echo "::set-env name=next_buildstep::${nextstep}"
echo "next_buildstep=${nextstep}" >>$GITHUB_ENV
- name: openwrt ${{ env.next_buildstep }}
if: ${{ env.next_buildstep != null }}
run: |
echo "running: make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}"
make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}
nextstep=$(make -f Makefile.autobuild next-buildstep-for-${next_buildstep})
echo "::set-env name=next_buildstep::${nextstep}"
echo "next_buildstep=${nextstep}" >>$GITHUB_ENV
- name: openwrt ${{ env.next_buildstep }}
if: ${{ env.next_buildstep != null }}
run: |
echo "running: make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}"
make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}
nextstep=$(make -f Makefile.autobuild next-buildstep-for-${next_buildstep})
echo "::set-env name=next_buildstep::${nextstep}"
echo "next_buildstep=${nextstep}" >>$GITHUB_ENV
- name: openwrt ${{ env.next_buildstep }}
if: ${{ env.next_buildstep != null }}
run: |
echo "running: make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}"
make -f Makefile.autobuild ${MAKE_OPTS} ${next_buildstep}
nextstep=$(make -f Makefile.autobuild next-buildstep-for-${next_buildstep})
echo "::set-env name=next_buildstep::${nextstep}"
echo "next_buildstep=${nextstep}" >>$GITHUB_ENV
- name: Archive build logs
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v1
Expand Down

0 comments on commit ffc6ef4

Please sign in to comment.