mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Update build.yml
This commit is contained in:
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -664,16 +664,16 @@ jobs:
|
|||||||
#$gam create printer displayname "${newbase}" uri ipp://localhost:631 driverless description "made by $(gam_user)"
|
#$gam create printer displayname "${newbase}" uri ipp://localhost:631 driverless description "made by $(gam_user)"
|
||||||
rm -f -v $gampath/enabledasa.txt
|
rm -f -v $gampath/enabledasa.txt
|
||||||
|
|
||||||
- name: Upload to Google Drive, build only.
|
# - name: Upload to Google Drive, build only.
|
||||||
if: github.event_name == 'push' && matrix.goal != 'test'
|
# if: github.event_name == 'push' && matrix.goal != 'test'
|
||||||
run: |
|
# run: |
|
||||||
ls gam-$GAMVERSION-*
|
# ls gam-$GAMVERSION-*
|
||||||
for gamfile in gam-$GAMVERSION-*; do
|
# for gamfile in gam-$GAMVERSION-*; do
|
||||||
echo "Uploading file ${gamfile} to Google Drive..."
|
# 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)
|
# 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..."
|
# echo "file uploaded as ${fileid}, setting ACL..."
|
||||||
$gam user $gam_user add drivefileacl $fileid anyone role reader withlink
|
# $gam user $gam_user add drivefileacl $fileid anyone role reader withlink
|
||||||
done
|
# done
|
||||||
|
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user