Update main.yml
This commit is contained in:
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: setup node
|
||||
- name: setup
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
@@ -21,15 +21,17 @@ jobs:
|
||||
run: npm ci
|
||||
|
||||
- name: scripts
|
||||
working-directory: ./scripts
|
||||
run: |
|
||||
cd scripts
|
||||
npx tsx write.ts
|
||||
npx tsx sort.ts
|
||||
cd ..
|
||||
|
||||
- name: upload zip
|
||||
- name: upload
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: sort-archive-${{ github.sha }}
|
||||
path: ./sort.zip
|
||||
retention-days: 30
|
||||
name: sorted
|
||||
path: ./_sprites/sorted
|
||||
retention-days: 15
|
||||
|
||||
- name: remove temp sorted folder
|
||||
run: rm -rf ./_sprites/sorted
|
||||
|
||||
Reference in New Issue
Block a user