File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 88 - name : Extract tag/branch variables
99 shell : bash
1010 run : |
11- echo "##[set-output name= tag;] $(echo ${GITHUB_REF#refs/tags/}|grep -v '/')"
12- echo "##[set-output name= branch;] $(echo ${GITHUB_REF#refs/heads/}|grep -v '/')"
11+ echo "tag= $(echo ${GITHUB_REF#refs/tags/}|grep -v '/')" >> $GITHUB_OUTPUT
12+ echo "branch= $(echo ${GITHUB_REF#refs/heads/}|grep -v '/')" >> $GITHUB_OUTPUT
1313 id : extract
1414 outputs :
1515 tag : ${{ steps.extract.outputs.tag }}
2020 name : Build packages
2121 needs : prep
2222 steps :
23- - uses : actions/checkout@v2
23+ - uses : actions/checkout@v4
2424 - name : Set up build tools
2525 run : ./.github/workflows/setup.sh
2626 - name : Run build
3939 sha512sum -b $i > ../checksums/$i.sha
4040 done
4141 - name : Upload build artifacts
42- uses : actions/upload-artifact@v2
42+ uses : actions/upload-artifact@v4
4343 with :
4444 name : build-artifacts
4545 path : |
5353 if : ${{ needs.prep.outputs.tag == '' }}
5454 steps :
5555 - name : Download artifacts
56- uses : actions/download-artifact@v2
56+ uses : actions/download-artifact@v4.1.7
5757 with :
5858 name : build-artifacts
5959 - name : List artifacts
6666 if : ${{ needs.prep.outputs.tag != '' }}
6767 steps :
6868 - name : Download artifacts
69- uses : actions/download-artifact@v2
69+ uses : actions/download-artifact@v4.1.7
7070 with :
7171 name : build-artifacts
7272 - name : Create Release
You can’t perform that action at this time.
0 commit comments