🐛 format .github workflows
This commit is contained in:
4
.github/FUNDING.yml
vendored
4
.github/FUNDING.yml
vendored
@@ -1,2 +1,2 @@
|
|||||||
github: ["tw93"]
|
github: ['tw93']
|
||||||
custom: ["https://miaoyan.app/cats.html?name=Pake"]
|
custom: ['https://miaoyan.app/cats.html?name=Pake']
|
||||||
|
|||||||
6
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
6
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: Bug report
|
name: Bug report
|
||||||
description: Problems with the software
|
description: Problems with the software
|
||||||
title: "[Bug] "
|
title: '[Bug] '
|
||||||
labels: ["bug"]
|
labels: ['bug']
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
@@ -73,4 +73,4 @@ body:
|
|||||||
- label: I'm willing to submit a PR!
|
- label: I'm willing to submit a PR!
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: "Thanks for completing our form!"
|
value: 'Thanks for completing our form!'
|
||||||
|
|||||||
4
.github/ISSUE_TEMPLATE/feature.yml
vendored
4
.github/ISSUE_TEMPLATE/feature.yml
vendored
@@ -1,6 +1,6 @@
|
|||||||
name: Feature
|
name: Feature
|
||||||
description: Add new feature, improve code, and more
|
description: Add new feature, improve code, and more
|
||||||
labels: [ "enhancement" ]
|
labels: ['enhancement']
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
@@ -43,4 +43,4 @@ body:
|
|||||||
- label: I'm willing to submit a PR!
|
- label: I'm willing to submit a PR!
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: "Thanks for completing our form!"
|
value: 'Thanks for completing our form!'
|
||||||
|
|||||||
39
.github/workflows/pake-cli.yaml
vendored
39
.github/workflows/pake-cli.yaml
vendored
@@ -3,51 +3,50 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
platform:
|
platform:
|
||||||
description: "platform"
|
description: 'platform'
|
||||||
required: true
|
required: true
|
||||||
default: "macos-latest"
|
default: 'macos-latest'
|
||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
- "windows-latest"
|
- 'windows-latest'
|
||||||
- "macos-latest"
|
- 'macos-latest'
|
||||||
- "ubuntu-20.04"
|
- 'ubuntu-20.04'
|
||||||
url:
|
url:
|
||||||
description: "[URL]"
|
description: '[URL]'
|
||||||
required: true
|
required: true
|
||||||
name:
|
name:
|
||||||
description: "[Name]"
|
description: '[Name]'
|
||||||
required: true
|
required: true
|
||||||
icon:
|
icon:
|
||||||
description: "[Icon, Optional]"
|
description: '[Icon, Optional]'
|
||||||
required: false
|
required: false
|
||||||
width:
|
width:
|
||||||
description: "[Width, Optional]"
|
description: '[Width, Optional]'
|
||||||
required: false
|
required: false
|
||||||
default: "1200"
|
default: '1200'
|
||||||
height:
|
height:
|
||||||
description: "[Height, Optional]"
|
description: '[Height, Optional]'
|
||||||
required: false
|
required: false
|
||||||
default: "780"
|
default: '780'
|
||||||
transparent:
|
transparent:
|
||||||
description: "[Transparent, Optional, MacOS only]"
|
description: '[Transparent, Optional, MacOS only]'
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
multi_arch:
|
multi_arch:
|
||||||
description: "[MultiArch, Optional, MacOS only]"
|
description: '[MultiArch, Optional, MacOS only]'
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
targets:
|
targets:
|
||||||
description: "[Targets, Optional, Linux only]"
|
description: '[Targets, Optional, Linux only]'
|
||||||
required: false
|
required: false
|
||||||
default: "deb"
|
default: 'deb'
|
||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
- "deb"
|
- 'deb'
|
||||||
- "appimage"
|
- 'appimage'
|
||||||
- "all"
|
- 'all'
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
4
.github/workflows/pake_build.yaml
vendored
4
.github/workflows/pake_build.yaml
vendored
@@ -3,7 +3,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
# Sequence of patterns matched against refs/tags
|
# Sequence of patterns matched against refs/tags
|
||||||
tags:
|
tags:
|
||||||
- "V*"
|
- 'V*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -81,5 +81,5 @@ jobs:
|
|||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
artifacts: "output/*/*.*"
|
artifacts: 'output/*/*.*'
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
9
.github/workflows/pake_build_with_cache.yaml
vendored
9
.github/workflows/pake_build_with_cache.yaml
vendored
@@ -3,16 +3,15 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: "tag version"
|
description: 'tag version'
|
||||||
required: true
|
required: true
|
||||||
default: "V0.0.1"
|
default: 'V0.0.1'
|
||||||
is_pre_release:
|
is_pre_release:
|
||||||
description: "pre-release or release, if true, is pre-release"
|
description: 'pre-release or release, if true, is pre-release'
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: build
|
name: build
|
||||||
@@ -94,7 +93,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
prerelease: ${{ inputs.is_pre_release }}
|
prerelease: ${{ inputs.is_pre_release }}
|
||||||
artifacts: "output/*/*.*"
|
artifacts: 'output/*/*.*'
|
||||||
tag: ${{ inputs.version }}
|
tag: ${{ inputs.version }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user