From 6ba0f3b7f22eb8f3a0e366be6e2c9bf504cea509 Mon Sep 17 00:00:00 2001 From: snus xD Date: Sun, 20 Jul 2025 17:10:42 +0500 Subject: [PATCH 1/2] Update main.yml --- .github/workflows/main.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9292ff4..0d59074 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 From c2494d9895452941e24858ac5cca7f6792808912 Mon Sep 17 00:00:00 2001 From: snus xD Date: Sun, 20 Jul 2025 17:14:52 +0500 Subject: [PATCH 2/2] update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0d59074..12acccc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,6 +3,8 @@ name: sorting on: push: branches: [ main ] + paths: + - '_sprites/**' jobs: run-scripts: