File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 5050 cp -r include dist
5151 # Add the ARTIFACT name(lowercased) as GitHub environment variable.
5252 artifact=webui-$(echo ${{ runner.os }}-${{ matrix.compiler }}-${{ matrix.arch }} | tr '[:upper:]' '[:lower:]')
53- chmod -x dist/webui-2.dylib
54- chmod -x dist/debug/webui-2.dylib
55- mv dist/ $artifact
56- zip -r $artifact.zip $artifact
57- # Add the artifact name as GitHub environment variable for usage in later steps.
5853 echo "ARTIFACT=$artifact" >> $GITHUB_ENV
54+ mv dist/ $artifact
5955 - name : Upload Artifact
6056 uses : actions/upload-artifact@v3
6157 with :
6460 - name : Prepare Release
6561 if : github.ref_type == 'tag' || (github.ref_name == 'main' && github.event_name == 'push')
6662 run : |
63+ zip -r ${{ env.ARTIFACT }}.zip ${{ env.ARTIFACT }}
6764 if [ $GITHUB_REF_TYPE == tag ]; then
6865 echo "TAG=$GITHUB_REF_NAME" >> $GITHUB_ENV
6966 else
You can’t perform that action at this time.
0 commit comments