File tree 3 files changed +9
-7
lines changed
3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: Acquire activation file
2
2
3
3
on :
4
4
workflow_dispatch :
5
- push :
6
5
7
6
jobs :
8
7
activation :
@@ -11,10 +10,11 @@ jobs:
11
10
steps :
12
11
# Request manual activation file
13
12
- name : Unity - Request Activation File
14
- id : getManualLicenseFile
13
+ id : requestActivationFile
15
14
uses : game-ci/unity-request-activation-file@v2.0-alpha-1
16
15
- name : Upload activation file
17
16
uses : actions/upload-artifact@v2
18
17
with :
19
- name : ${{ steps.getManualLicenseFile.outputs.filePath }}
20
- path : ${{ steps.getManualLicenseFile.outputs.filePath }}
18
+ name : ${{ steps.requestActivationFile.outputs.filePath }}
19
+ path : ${{ steps.requestActivationFile.outputs.filePath }}
20
+ retention-days : 3
Original file line number Diff line number Diff line change 1
1
name : Delete old artifacts
2
2
on :
3
3
schedule :
4
- - cron : ' 30 10 * * * ' # every day at 10:30
4
+ - cron : ' 30 10 * * SUN ' # every sunday at 10:30
5
5
6
6
jobs :
7
7
delete-artifacts :
Original file line number Diff line number Diff line change @@ -77,10 +77,11 @@ jobs:
77
77
unityVersion : ${{ matrix.unityVersion }}
78
78
targetPlatform : ${{ matrix.targetPlatform }}
79
79
customParameters : -profile SomeProfile -someBoolean -someValue exampleValue
80
- - uses : actions/upload-artifact@v1
80
+ - uses : actions/upload-artifact@v2
81
81
with :
82
82
name : Build (${{ matrix.unityVersion }})
83
83
path : build
84
+ retention-days : 14
84
85
k8sBuilds :
85
86
name : K8s build for ${{ matrix.targetPlatform }} on version ${{ matrix.unityVersion }}
86
87
runs-on : ubuntu-latest
@@ -120,9 +121,10 @@ jobs:
120
121
kubeConfig : ${{ steps.read-base64.outputs.base64 }}
121
122
volume : ${{ steps.k8s-unity-build.outputs.volume }}
122
123
sourcePath : repo/build/
123
- - uses : actions/upload-artifact@v1
124
+ - uses : actions/upload-artifact@v2
124
125
with :
125
126
name : Kubernetes Build (${{ matrix.targetPlatform }})
126
127
path : k8s-volume-download
128
+ retention-days : 14
127
129
- run : ./action/bootstrapper/ReleaseLockAndAttemptShutdown.sh ${{ env.GKE_PROJECT }} ${{ env.GKE_CLUSTER }} ${{ env.GKE_ZONE }}
128
130
if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments