unready action
This commit is contained in:
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@@ -1,5 +1,4 @@
|
|||||||
name: sorting
|
name: main
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
@@ -7,6 +6,9 @@ on:
|
|||||||
- '_sprites/**'
|
- '_sprites/**'
|
||||||
- 'scripts/**'
|
- 'scripts/**'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-scripts:
|
run-scripts:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -28,6 +30,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
npx tsx write.ts
|
npx tsx write.ts
|
||||||
npx tsx sort.ts
|
npx tsx sort.ts
|
||||||
|
npx tsx unready.ts
|
||||||
|
|
||||||
|
- name: commit changes
|
||||||
|
run: |
|
||||||
|
git config --local user.email "action@github.com"
|
||||||
|
git config --local user.name "GitHub Action"
|
||||||
|
git add .
|
||||||
|
git commit -m "sorted unready sprites" || exit 0
|
||||||
|
git push
|
||||||
|
|
||||||
- name: upload
|
- name: upload
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user