diff --git a/.github/workflows/forked-helper.yml b/.github/workflows/forked-helper.yml index 4bd1b4124..b33a6b31d 100644 --- a/.github/workflows/forked-helper.yml +++ b/.github/workflows/forked-helper.yml @@ -15,16 +15,16 @@ jobs: steps: - name: Assign secret id: get_dispatch_secret - run: echo '::set-output name=dispatch_secret::${{ secrets.ARMBIAN_SELF_DISPATCH_TOKEN }}' + run: echo 'name=dispatch_secret::${{ secrets.ARMBIAN_SELF_DISPATCH_TOKEN }}' >> $GITHUB_OUTPUT - name: Get event details id: get_event_details - # Process JSON according https://github.community/t5/GitHub-Actions/set-output-Truncates-Multiline-Strings/td-p/37870 + # Process JSON according https://github.com/orgs/community/discussions/26288 run: | JSON=$(cat ${{ github.event_path }}) JSON="${JSON//'%'/'%25'}" JSON="${JSON//$'\n'/'%0A'}" JSON="${JSON//$'\r'/'%0D'}" - echo "::set-output name=event_details::${JSON}" + echo "name=event_details::${JSON}" >> $GITHUB_OUTPUT - name: Dispatch event on forked repostitory if: steps.get_dispatch_secret.outputs.dispatch_secret uses: peter-evans/repository-dispatch@v3