File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 18
18
msystem : mingw64
19
19
update : true
20
20
install : >-
21
+ git
21
22
mingw-w64-x86_64-cmake
22
23
mingw-w64-x86_64-gcc
23
24
mingw-w64-x86_64-make
47
48
cd build-static
48
49
cmake -DENABLE_LTO=ON -DENABLE_STATIC_LINKING=ON ../
49
50
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