File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1818 msystem : mingw64
1919 update : true
2020 install : >-
21+ git
2122 mingw-w64-x86_64-cmake
2223 mingw-w64-x86_64-gcc
2324 mingw-w64-x86_64-make
4748 cd build-static
4849 cmake -DENABLE_LTO=ON -DENABLE_STATIC_LINKING=ON ../
4950 cmake --build . -j2
51+ - name : Collect files
52+ run : |
53+ export MSYSTEM=MINGW64
54+ mkdir -p "$GITHUB_WORKSPACE"/artifacts
55+ cd "$GITHUB_WORKSPACE"
56+ cp build-static/sha256/sha256.exe artifacts/
57+ cp ReadMe.de.txt artifacts/
58+ cp ReadMe.en.txt artifacts/
59+ cp ChangeLog.md artifacts/
60+ cp LICENSE artifacts/
61+ VERSION=$(git describe --always)
62+ mv artifacts sha256_$VERSION
63+ '/c/Program Files/7-Zip/7z.exe' a -r sha256_${VERSION}_win64.zip sha256_$VERSION
64+ - name : Upload artifact
65+ uses : actions/upload-artifact@v4
66+ with :
67+ name : sha256_win64
68+ if-no-files-found : error
69+ path : |
70+ sha256_*_win64.zip
You can’t perform that action at this time.
0 commit comments