diff --git a/.github/workflows/Publish-main.yml b/.github/workflows/Publish-main.yml index 5746a24..c11013d 100644 --- a/.github/workflows/Publish-main.yml +++ b/.github/workflows/Publish-main.yml @@ -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