File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -96,15 +96,16 @@ jobs:
96
96
steps :
97
97
- name : Prepare workspace
98
98
run : rm -rf build-${{ matrix.package }} && mkdir -p build-${{ matrix.package }}
99
+
99
100
- name : Download ${{ inputs.tag }} source code
100
-
101
- with :
102
- token : ${{ secrets.GH_PAT }}
103
- tag : ${{ inputs.tag }}
104
- fileName : globalprotect-openconnect-*.tar.gz
105
- tarBall : false
106
- zipBall : false
107
- out-file-path : build-${{ matrix.package }}
101
+ env :
102
+ GH_TOKEN : ${{ secrets.GH_PAT }}
103
+ run : |
104
+ gh -R yuezk/GlobalProtect-openconnect \
105
+ release download ${{ inputs.tag }} \
106
+ --pattern '*[^offline].tar.gz' \
107
+ --dir build-${{ matrix.package }}
108
+
108
109
- name : Docker Login
109
110
run : echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
110
111
- name : Build ${{ matrix.package }} package in Docker
You can’t perform that action at this time.
0 commit comments