File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,15 @@ jobs:
104104 name : rcssserver-x86_64
105105 path : ${{ github.workspace }}/artifact/*
106106 retention-days : 5
107-
107+
108+ - name : List files in artifact directory
109+ run : ls -l ${{ github.workspace }}/artifact/
110+
108111 - name : Check if there is no release with the same tag
109112 id : check_release
110113 run : |
111- curl -s -o /dev/null -w "%{http_code}" https://api.github.com/repos/${{ github.repository }}/releases/tags/${{ github.ref_name }} -u ${{ secrets.GITHUB_TOKEN }}:
112- echo "::set-output name=release_exists::${{ steps.check_release.outputs.stdout }} "
114+ result=$( curl -s -o /dev/null -w "%{http_code}" https://api.github.com/repos/${{ github.repository }}/releases/tags/${{ github.ref_name }} -u ${{ secrets.GITHUB_TOKEN }})
115+ echo "::set-output name=release_exists::$result "
113116
114117 # ------------------------------------------- Release
115118 - name : Create Release
You can’t perform that action at this time.
0 commit comments