diff --git a/.github/workflows/dump_full.yml b/.github/workflows/dump_full.yml index 4fbd9e7..56a711d 100644 --- a/.github/workflows/dump_full.yml +++ b/.github/workflows/dump_full.yml @@ -26,8 +26,8 @@ jobs: run: | curl -L ${{ inputs.ota }} -o ota.zip unzip -j ota.zip META-INF/com/android/metadata - echo ::set-output name=ota_ver::`cat metadata | grep ^version_name= | cut -b 14-` - echo ::set-output name=fingerprint::`cat metadata | grep ^post-build= | cut -b 12-` + echo "ota_ver=`cat metadata | grep ^version_name= | cut -b 14-`" >> "$GITHUB_OUTPUT" + echo "fingerprint=`cat metadata | grep ^post-build= | cut -b 12-`" >> "$GITHUB_OUTPUT" - name: Dump run: | diff --git a/.github/workflows/dump_incremental.yml b/.github/workflows/dump_incremental.yml index 76e53ab..e351f46 100644 --- a/.github/workflows/dump_incremental.yml +++ b/.github/workflows/dump_incremental.yml @@ -34,16 +34,16 @@ jobs: id: download run: | curl -L ${{ inputs.ota1 }} -o ota1.zip - echo ::set-output name=ota1_ver::`unzip -p ota1.zip META-INF/com/android/metadata | grep ^version_name= | cut -b 14-` + echo "ota1_ver=`unzip -p ota1.zip META-INF/com/android/metadata | grep ^version_name= | cut -b 14-`" >> "$GITHUB_OUTPUT" curl -L ${{ inputs.ota2 }} -o ota2.zip - echo ::set-output name=ota2_ver::`unzip -p ota2.zip META-INF/com/android/metadata | grep ^version_name= | cut -b 14-` + echo "ota2_ver=`unzip -p ota2.zip META-INF/com/android/metadata | grep ^version_name= | cut -b 14-`" >> "$GITHUB_OUTPUT" - name: Download (Part 2) id: download_p2 if: inputs.ota3 != '' run: | curl -L ${{ inputs.ota3 }} -o ota3.zip - echo ::set-output name=ota3_ver::`unzip -p ota3.zip META-INF/com/android/metadata | grep ^version_name= | cut -b 14-` + echo "ota3_ver=`unzip -p ota3.zip META-INF/com/android/metadata | grep ^version_name= | cut -b 14-`" >> "$GITHUB_OUTPUT" - name: Dump (Part 1) run: |