Update issue template link #155
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check_pr | |
on: pull_request | |
jobs: | |
check_pr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download tool | |
run: ./scripts/init.sh | |
- name: Build | |
run: node --enable-source-maps tool create-release --strict . ./publish | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: database | |
path: | | |
./publish | |
./database | |
- name: Check for uncommitted changes | |
# Ensure no changes | |
run: | | |
git add . | |
if ! git diff --color=always --cached --exit-code; then | |
echo "" | |
echo "::error::更改包含非标准的条目,请按上述输出将红色行内容修改为对应绿色行内容。" | |
exit 1 | |
fi |