mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
actions: Fix GITHUB_OUTPUT variables
This commit is contained in:
6
.github/workflows/forked-helper.yml
vendored
6
.github/workflows/forked-helper.yml
vendored
@@ -15,7 +15,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Assign secret
|
- name: Assign secret
|
||||||
id: get_dispatch_secret
|
id: get_dispatch_secret
|
||||||
run: echo 'name=dispatch_secret::${{ secrets.ARMBIAN_SELF_DISPATCH_TOKEN }}' >> $GITHUB_OUTPUT
|
run: echo "dispatch_secret=${{ secrets.ARMBIAN_SELF_DISPATCH_TOKEN }}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Get event details
|
- name: Get event details
|
||||||
id: get_event_details
|
id: get_event_details
|
||||||
# Process JSON according https://github.com/orgs/community/discussions/26288
|
# Process JSON according https://github.com/orgs/community/discussions/26288
|
||||||
@@ -24,7 +25,8 @@ jobs:
|
|||||||
JSON="${JSON//'%'/'%25'}"
|
JSON="${JSON//'%'/'%25'}"
|
||||||
JSON="${JSON//$'\n'/'%0A'}"
|
JSON="${JSON//$'\n'/'%0A'}"
|
||||||
JSON="${JSON//$'\r'/'%0D'}"
|
JSON="${JSON//$'\r'/'%0D'}"
|
||||||
echo "name=event_details::${JSON}" >> $GITHUB_OUTPUT
|
echo "event_details=${JSON}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Dispatch event on forked repostitory
|
- name: Dispatch event on forked repostitory
|
||||||
if: steps.get_dispatch_secret.outputs.dispatch_secret
|
if: steps.get_dispatch_secret.outputs.dispatch_secret
|
||||||
uses: peter-evans/repository-dispatch@v3
|
uses: peter-evans/repository-dispatch@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user