File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -96,15 +96,16 @@ jobs:
9696 steps :
9797 - name : Prepare workspace
9898 run : rm -rf build-${{ matrix.package }} && mkdir -p build-${{ matrix.package }}
99+
99100 - name : Download ${{ inputs.tag }} source code
100- uses : robinraju/release-downloader@v1.9
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+
108109 - name : Docker Login
109110 run : echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
110111 - name : Build ${{ matrix.package }} package in Docker
You can’t perform that action at this time.
0 commit comments