mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-08 01:10:01 +02:00
chore: Update create-theme workflow to use stefanbuck/github-issue-parser@v3 for parsing issue templates
This commit is contained in:
parent
23a08b1698
commit
82d111e01d
1 changed files with 8 additions and 5 deletions
13
.github/workflows/create-theme.yml
vendored
13
.github/workflows/create-theme.yml
vendored
|
@ -22,14 +22,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
template-path: .github/ISSUE_TEMPLATE/create-theme.yml
|
template-path: .github/ISSUE_TEMPLATE/create-theme.yml
|
||||||
|
|
||||||
|
- name: echo parsed payload
|
||||||
|
run: echo "${{ steps.issue-parser.outputs.jsonString }}"
|
||||||
|
|
||||||
- name: Export parsed payload into variables
|
- name: Export parsed payload into variables
|
||||||
id: export
|
id: export
|
||||||
run: |
|
run: |
|
||||||
echo "THEME_NAME=${{ steps.issue-parser.outputs.name }}" >> $GITHUB_ENV
|
echo "THEME_NAME=${{ fromJson(steps.issue-parser.outputs.jsonString)['name'] }}" >> $GITHUB_ENV
|
||||||
echo "THEME_DESCRIPTION=${{ steps.issue-parser.outputs.description }}" >> $GITHUB_ENV
|
echo "THEME_DESCRIPTION=${{ fromJson(steps.issue-parser.outputs.jsonString)['description'] }}" >> $GITHUB_ENV
|
||||||
echo "THEME_HOMEPAGE=${{ steps.issue-parser.outputs.homepage }}" >> $GITHUB_ENV
|
echo "THEME_HOMEPAGE=${{ fromJson(steps.issue-parser.outputs.jsonString)['homepage'] }}" >> $GITHUB_ENV
|
||||||
echo "THEME_STYLES=${{ steps.issue-parser.outputs.styles }}" >> $GITHUB_ENV
|
echo "THEME_STYLES=${{ fromJson(steps.issue-parser.outputs.jsonString)['styles'] }}" >> $GITHUB_ENV
|
||||||
echo "THEME_README=${{ steps.issue-parser.outputs.readme }}" >> $GITHUB_ENV
|
echo "THEME_README=${{ fromJson(steps.issue-parser.outputs.jsonString)['readme'] }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Setup Git
|
- name: Setup Git
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue