workflow test3
This commit is contained in:
35
.github/workflows/main.yml
vendored
35
.github/workflows/main.yml
vendored
@@ -53,26 +53,7 @@ jobs:
|
||||
git commit -m "actions commit" || exit 0
|
||||
git push
|
||||
|
||||
- name: upload
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: sorted
|
||||
path: ./_sprites/sorted
|
||||
retention-days: 15
|
||||
|
||||
- name: upload-merged
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: sorted
|
||||
path: ./_sprites/sorted-merged
|
||||
retention-days: 15
|
||||
|
||||
- name: remove temp sorted folder
|
||||
run: |
|
||||
rm -rf ./_sprites/sorted
|
||||
rm -rf ./_sprites/sorted-merged
|
||||
|
||||
- name: Delete Old Artifacts
|
||||
- name: delete previous actions
|
||||
uses: actions/github-script@v6
|
||||
id: artifact
|
||||
with:
|
||||
@@ -90,3 +71,17 @@ jobs:
|
||||
artifact_id: id,
|
||||
})
|
||||
})
|
||||
|
||||
- name: upload sprites
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: sorted-sprites
|
||||
path: |
|
||||
./_sprites/sorted
|
||||
./_sprites/sorted-merged
|
||||
retention-days: 15
|
||||
|
||||
- name: remove temp sorted folder
|
||||
run: |
|
||||
rm -rf ./_sprites/sorted
|
||||
rm -rf ./_sprites/sorted-merged
|
||||
|
||||
@@ -149,4 +149,4 @@ for (const chapter of chapters) {
|
||||
]);
|
||||
}
|
||||
|
||||
//test2
|
||||
//test3
|
||||
|
||||
Reference in New Issue
Block a user