Skip to content

Commit

Permalink
actions: set explicit vault download directory and clean it up
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee authored Aug 10, 2023
1 parent b25ca66 commit 2d53459
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,10 @@ jobs:
$gam whatis $newuser || if [ $? != 20 ]; then exit $?; fi # expect a 20 return code (is a user)
$gam user $gam_user show tokens
$gam config enable_dasa false save
$gam print exports matter $matterid | $gam csv - gam download export $matterid id:~~id~~
download_dir="${RUNNER_TEMP}/TEMP_DELETE_ME"
mkdir "$download_dir"
$gam print exports matter $matterid | $gam csv - gam download export $matterid id:~~id~~ targetfolder "$download_dir"
rmdir /q /s "$download_dir"
$gam delete hold "GHA hold $newbase" matter $matterid
$gam update matter $matterid action close
$gam update matter $matterid action delete
Expand Down

0 comments on commit 2d53459

Please sign in to comment.