File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -81,16 +81,19 @@ jobs:
8181 run : |
8282 cd ..
8383 cp -R simplesamlphp "simplesamlphp-$VERSION"
84- tar --owner 0 --group 0 -cvzf "/tmp/simplesamlphp-$VERSION-${{ matrix.version }}.tar.gz" \
85- "simplesamlphp-$VERSION"
84+ TARGET="/tmp/simplesamlphp-$VERSION-${{ matrix.version }}.tar.gz"
85+ # remove -slim from the filename for our minimalistic build
86+ TARGET=${TARGET/-slim/}
87+ echo "VERSION=$TARGET" >> "$GITHUB_ENV"
88+ tar --owner 0 --group 0 -cvzf "$TARGET" "simplesamlphp-$VERSION"
8689 rm -rf "simplesamlphp-$VERSION"
8790
8891 - name : Save tarball
8992 uses : actions/upload-artifact@v3
9093 with :
9194 name : release-${{ matrix.version }}
92- path : " /tmp/simplesamlphp-${{ env.VERSION }}-${{ matrix.version }}.tar.gz "
95+ path : " $TARGET "
9396 retention-days : 1
9497
9598 - name : Calculate SHA checksum (${{ matrix.version }})
96- run : sha256sum "/tmp/simplesamlphp-$VERSION-${{ matrix.version }}.tar.gz "
99+ run : sha256sum "$TARGET "
You can’t perform that action at this time.
0 commit comments