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