Merge branch 'main' of https://github.com/snusxd/deltasprite
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:
|
||||
push:
|
||||
branches: [ main ]
|
||||
@@ -7,6 +6,9 @@ on:
|
||||
- '_sprites/**'
|
||||
- 'scripts/**'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
run-scripts:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -28,6 +30,15 @@ jobs:
|
||||
run: |
|
||||
npx tsx write.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
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user