Skip to content

Commit

Permalink
Extract Sample Project
Browse files Browse the repository at this point in the history
  • Loading branch information
hoontee committed Jul 9, 2023
1 parent 5015e4a commit cc85804
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/Publish-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ jobs:

# Exclusive to the sample workflow; please this step!
- name: Extract Sample Project
run: move "Sample Project/*" ./
run: |
SET "sourcedir=./"
SET "keepdir=Sample Project"
FOR /d %%a IN ("%sourcedir%/*") DO IF /i NOT "%%~nxa"=="%keepdir%" RD /S /Q "%%a"
FOR %%a IN ("%sourcedir%/*") DO DEL "%%a"
MOVE "Sample Project/*" ./
DIR
# aftman.toml is currently required to download Lune and build offline.
- name: Setup Aftman
Expand Down

0 comments on commit cc85804

Please sign in to comment.