Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Oct 2, 2024
1 parent c60e161 commit 1770493
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,29 @@ jobs:
- name: Download everything from previous jobs
uses: actions/download-artifact@v4

- name: Unify folders
run: |
for /d /r %%D in ("BugTrap*") do (
echo Moving contents of %%D to the parent directory...
rem Copy all files and directories recursively
xcopy "%%D\*" "%rootDir%\" /E /I /K /Y
rem Delete original directory
rd /s /q "%%D"
)
- name: Upload unified artifact
uses: actions/upload-artifact@main
with:
name: BugTrap (github-${{ github.run_number }}).zip
path: BugTrap */**/*
name: BugTrap (github-${{ github.run_number }})
path: *

- name: Pack into one
run: 7z a BugTrap.zip "BugTrap */*"
- name: Pack shipping archive
run: 7z a BugTrap.zip *

- name: Upload manually packed artifact
- name: Upload manually packed shipping artifact
uses: actions/upload-artifact@main
with:
name: BugTrap.zip
name: BugTrap
path: BugTrap.zip

0 comments on commit 1770493

Please sign in to comment.