File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 19
19
required : false
20
20
type : string
21
21
default : ' master'
22
- version :
23
- description : ' GHES Version of dataset'
24
- required : false
25
- type : string
26
- default : " 3.8.0"
22
+
27
23
workflow_call :
28
24
inputs :
29
25
size :
40
36
required : false
41
37
type : string
42
38
default : ' master'
43
- version :
44
- description : ' GHES Version of dataset'
45
- required : false
46
- type : string
47
- default : " 3.8.0"
39
+
48
40
jobs :
49
41
build :
50
42
runs-on : ubuntu-latest
@@ -84,12 +76,22 @@ jobs:
84
76
token : " ${{ secrets.INTERNAL_ACTIONS_DX_BOT_ACCOUNT_TOKEN }}"
85
77
lfs : ' true'
86
78
79
+ - name : Download from blob storage
80
+ run : |
81
+ az storage blob download \
82
+ --account-name ghesresults \
83
+ --container-name ghes-data \
84
+ --name v3.8-small-docs.tar.gz \
85
+ --file ghes-data/data/backup/v3.8-small-docs.tar.gz \
86
+ --connection-string "${{ secrets.CONNECTIONSTRING }}"
87
+
88
+
87
89
- name : Unzip backup and setup symlink
88
90
run : |
89
91
mkdir $HOME/ghe-backup-data
90
92
dir_name=$(date +%s)
91
93
mkdir $HOME/ghe-backup-data/$dir_name
92
- tar -xvf ghes-data/data/backup/${{ inputs.size }}/ v3.8.0/${{ inputs.size }}-refined .tar.gz -C $HOME/ghe-backup-data/$dir_name
94
+ tar -xvf ghes-data/data/backup/v3.8-small-docs .tar.gz -C $HOME/ghe-backup-data/$dir_name
93
95
94
96
ln -s $dir_name $HOME/ghe-backup-data/current
95
97
You can’t perform that action at this time.
0 commit comments