From 59b9dca5ec81cec0a007416b683bb9e30c038e6e Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Fri, 4 Dec 2020 21:32:46 -0500 Subject: [PATCH] actions take 117 --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ebf9c890..bc00b636 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -278,8 +278,12 @@ jobs: $gam report users fields accounts:is_less_secure_apps_access_allowed,gmail:last_imap_time,gmail:last_pop_time filters "accounts:last_login_time>2019-01-01T00:00:00.000Z" todrive $gam report admin start -3d todrive $gam print devices nopersonaldevices nodeviceusers filter "serial:$JID$JID$JID$JID-" | $gam csv - gam delete device id ~name + + - name: Upload to Google Drive, build only. + if: github.event_name == 'push' && matrix.goal != 'test' + run: | export filepattern="gam-${GAMVERSION}-*" - for gamfile in $filepattern; do + for gamfile in "${filepattern}"; do echo "Uploading file ${gamfile} to Google Drive..." fileid=$($gam user $gam_user add drivefile localfile $gamfile drivefilename $GAMVERSION-${GITHUB_SHA:0:7}-$gamfile parentid 1N2zbO33qzUQFsGM49-m9AQC1ijzd_ru1 returnidonly) echo "file uploaded as ${fileid}, setting ACL..."