File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 2424 toolchain : stable
2525 override : true
2626
27- - name : Build sifis-generate
27+ - name : Build weighted-code-coverage
2828 run : |
2929 cargo build --release
3030
@@ -96,15 +96,11 @@ jobs:
9696 - name : Build package
9797 id : package
9898 run : |
99- ARCHIVE_TARGET=${{ matrix.target }}
100- ARCHIVE_NAME="$BINARY-${{ steps.tagName.outputs.tag }}-$ARCHIVE_TARGET"
101- ARCHIVE_FILE="${ARCHIVE_NAME}.tar.gz"
102- mkdir "/tmp/${ARCHIVE_NAME}"
103- cp target/${{ matrix.target }}/release/$BINARY \
104- /tmp/${ARCHIVE_NAME}
105- tar -czf ${PWD}/${ARCHIVE_FILE} -C /tmp/ ${ARCHIVE_NAME}
106- echo ::set-output "name=file::${ARCHIVE_FILE}"
107- echo ::set-output "name=name::${ARCHIVE_NAME}.tar.gz"
99+ TAR_FILE=$BINARY-${{ steps.tagName.outputs.tag }}-${{ matrix.target }}
100+ cd target/${{ matrix.target }}/release
101+ tar -czvf $GITHUB_WORKSPACE/$TAR_FILE.tar.gz $BINARY
102+ echo ::set-output "name=file::${TAR_FILE}.tar.gz "
103+ echo ::set-output "name=name::${TAR_FILE}"
108104
109105 - name : Upload artifacts
110106 uses : actions/upload-artifact@v2
You can’t perform that action at this time.
0 commit comments