File tree Expand file tree Collapse file tree 1 file changed +24
-7
lines changed Expand file tree Collapse file tree 1 file changed +24
-7
lines changed Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
steps :
8
8
- uses : actions/checkout@v4
9
- - name : clean up trash
9
+
10
+ - name : Archive files
10
11
run : |
11
- rm -rf .gitignore
12
- rm -rf .markdownlint.json
13
- rm -rf LICENSE
14
- - uses : actions/upload-artifact@v4
12
+ sudo apt-get update
13
+ sudo apt-get install zip
14
+ zip -r archive.zip *
15
+
16
+ - name : Upload to gdrive
17
+ uses : adityak74/google-drive-upload-git-action@main
15
18
with :
16
- name : unreal-helper-library
17
- path : .
19
+ credentials : ${{ secrets.GOOGLE_DRIVE_CREDENTIALS }}
20
+ filename : " archive.zip"
21
+ folderId : ${{ secrets.GOOGLE_DRIVE_FOLDER_ID }}
22
+ name : " UHL_${{ github.run_id }}.zip" # optional string
23
+ overwrite : " true" # optional boolean
24
+
25
+ # artifacts
26
+ # - name: clean up trash
27
+ # run: |
28
+ # rm -rf .gitignore
29
+ # rm -rf .markdownlint.json
30
+ # rm -rf LICENSE
31
+ # - uses: actions/upload-artifact@v4
32
+ # with:
33
+ # name: unreal-helper-library
34
+ # path: .
You can’t perform that action at this time.
0 commit comments