mirror of
https://github.com/typecho/typecho.git
synced 2025-01-17 20:48:42 +01:00
add trigger
This commit is contained in:
parent
df854a3bf0
commit
22cadcc884
7
.github/workflows/Typecho-dev-Ci.yml
vendored
7
.github/workflows/Typecho-dev-Ci.yml
vendored
@ -47,5 +47,8 @@ jobs:
|
||||
- name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: typecho
|
||||
path: ./build/
|
||||
name: typecho
|
||||
path: ./build/
|
||||
- name: Trigger build
|
||||
run: |
|
||||
curl -XPOST -u "${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/typecho/languages/actions/workflows/update.yml/dispatches --data '{"ref": "master"}'
|
||||
|
@ -408,6 +408,22 @@ abstract class Typecho_Widget
|
||||
$this->row[$name] = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getSequence(): int
|
||||
{
|
||||
return $this->sequence;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getLength(): int
|
||||
{
|
||||
return $this->length;
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证堆栈值是否存在
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user