From 231df589180d809c2748c5668fe0b5b32161bd2c Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 18 Nov 2020 18:44:53 -0500 Subject: [PATCH] GHA does not upload artifacts #1963 undoing suspicious changes --- .github/workflows/build-firmware.yaml | 12 ++++++------ .github/workflows/gen-configs.yaml | 2 +- .github/workflows/gen-diffs.yaml | 6 +++--- .github/workflows/gen-docs.yaml | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-firmware.yaml b/.github/workflows/build-firmware.yaml index a2be5047c4..b650711ca2 100644 --- a/.github/workflows/build-firmware.yaml +++ b/.github/workflows/build-firmware.yaml @@ -122,9 +122,9 @@ jobs: - name: Set FTP variables run: | if [ "${{github.event_name}}" = "push" ] && [ "${{github.ref}}" = "refs/heads/master" ]; then - echo "name=RUSEFI_FTP_SERVER::${{secrets.RUSEFI_FTP_SERVER}}" >> $GITHUB_ENV; - echo "name=RUSEFI_BUILD_FTP_USER::${{secrets.RUSEFI_BUILD_FTP_USER}}" >> $GITHUB_ENV; - echo "name=RUSEFI_BUILD_FTP_PASS::${{secrets.RUSEFI_BUILD_FTP_PASS}}" >> $GITHUB_ENV; + echo "::set-env name=RUSEFI_FTP_SERVER::${{secrets.RUSEFI_FTP_SERVER}}"; + echo "::set-env name=RUSEFI_BUILD_FTP_USER::${{secrets.RUSEFI_BUILD_FTP_USER}}"; + echo "::set-env name=RUSEFI_BUILD_FTP_PASS::${{secrets.RUSEFI_BUILD_FTP_PASS}}"; fi # Build rusEFI console @@ -221,9 +221,9 @@ jobs: - name: Set FTP variables run: | if [ "${{github.event_name}}" = "push" ] && [ "${{github.ref}}" = "refs/heads/master" ]; then - echo "name=RUSEFI_FTP_SERVER::${{secrets.RUSEFI_FTP_SERVER}}" >> $GITHUB_ENV; - echo "name=RUSEFI_BUILD_FTP_USER::${{secrets.RUSEFI_BUILD_FTP_USER}}" >> $GITHUB_ENV; - echo "name=RUSEFI_BUILD_FTP_PASS::${{secrets.RUSEFI_BUILD_FTP_PASS}}" >> $GITHUB_ENV; + echo "::set-env name=RUSEFI_FTP_SERVER::${{secrets.RUSEFI_FTP_SERVER}}"; + echo "::set-env name=RUSEFI_BUILD_FTP_USER::${{secrets.RUSEFI_BUILD_FTP_USER}}"; + echo "::set-env name=RUSEFI_BUILD_FTP_PASS::${{secrets.RUSEFI_BUILD_FTP_PASS}}"; fi - name: Build Primary Bundle diff --git a/.github/workflows/gen-configs.yaml b/.github/workflows/gen-configs.yaml index 96e49f32b4..f97543ce41 100644 --- a/.github/workflows/gen-configs.yaml +++ b/.github/workflows/gen-configs.yaml @@ -42,7 +42,7 @@ jobs: git status OUT=$(git commit -am "Auto-generated configs and docs" 2>&1) || echo "commit failed, finding out why" if echo "$OUT" | grep 'nothing to commit'; then - echo "name=NOCOMMIT::true" >> $GITHUB_ENV + echo "::set-env name=NOCOMMIT::true" exit 0 elif echo "$OUT" | grep 'changed'; then exit 0 diff --git a/.github/workflows/gen-diffs.yaml b/.github/workflows/gen-diffs.yaml index 72ebd15f8f..1a5e7b5ce0 100644 --- a/.github/workflows/gen-diffs.yaml +++ b/.github/workflows/gen-diffs.yaml @@ -27,9 +27,9 @@ jobs: - name: Set FTP variables run: | if [ "${{github.event_name}}" = "push" ] && [ "${{github.ref}}" = "refs/heads/master" ]; then - echo "name=RUSEFI_FTP_SERVER::${{secrets.RUSEFI_FTP_SERVER}}" >> $GITHUB_ENV; - echo "name=RUSEFI_DOXYGEN_FTP_USER::${{secrets.RUSEFI_DOXYGEN_FTP_USER}}" >> $GITHUB_ENV; - echo "name=RUSEFI_DOXYGEN_FTP_PASS::${{secrets.RUSEFI_DOXYGEN_FTP_PASS}}" >> $GITHUB_ENV; + echo "::set-env name=RUSEFI_FTP_SERVER::${{secrets.RUSEFI_FTP_SERVER}}"; + echo "::set-env name=RUSEFI_DOXYGEN_FTP_USER::${{secrets.RUSEFI_DOXYGEN_FTP_USER}}"; + echo "::set-env name=RUSEFI_DOXYGEN_FTP_PASS::${{secrets.RUSEFI_DOXYGEN_FTP_PASS}}"; fi - name: Generate diffs diff --git a/.github/workflows/gen-docs.yaml b/.github/workflows/gen-docs.yaml index e8f5fdfade..f543fe7867 100644 --- a/.github/workflows/gen-docs.yaml +++ b/.github/workflows/gen-docs.yaml @@ -23,9 +23,9 @@ jobs: - name: Set FTP variables run: | if [ "${{github.event_name}}" = "push" ] && [ "${{github.ref}}" = "refs/heads/master" ]; then - echo "name=RUSEFI_FTP_SERVER::${{secrets.RUSEFI_FTP_SERVER}}" >> $GITHUB_ENV; - echo "name=RUSEFI_DOXYGEN_FTP_USER::${{secrets.RUSEFI_DOXYGEN_FTP_USER}}" >> $GITHUB_ENV; - echo "name=RUSEFI_DOXYGEN_FTP_PASS::${{secrets.RUSEFI_DOXYGEN_FTP_PASS}}" >> $GITHUB_ENV; + echo "::set-env name=RUSEFI_FTP_SERVER::${{secrets.RUSEFI_FTP_SERVER}}"; + echo "::set-env name=RUSEFI_DOXYGEN_FTP_USER::${{secrets.RUSEFI_DOXYGEN_FTP_USER}}"; + echo "::set-env name=RUSEFI_DOXYGEN_FTP_PASS::${{secrets.RUSEFI_DOXYGEN_FTP_PASS}}"; fi - name: Generate documentation