all repos — litestore @ a7d2a6c2eed29aea07545c423c61e71ac9487ef0

A minimalist nosql document store.

Update add-artifacts-to-current-release.yml
Fabio Cevasco h3rald@h3rald.com
Tue, 13 Apr 2021 22:09:28 +0200
commit

a7d2a6c2eed29aea07545c423c61e71ac9487ef0

parent

79750d453fe025af3c3388f485d58a586872943a

1 files changed, 17 insertions(+), 4 deletions(-)

jump to
M .github/workflows/add-artifacts-to-current-release.yml.github/workflows/add-artifacts-to-current-release.yml

@@ -55,16 +55,29 @@ - name: Install Nim

run: | curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh sh init.sh -y + + # Install HastyScribe + - name: Install HastyScribe + run: | + nimble install hastyscribe -y # Build for Linux - name: Build (Linux) - run: nim c -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --gc:orc --opt:size litestore + run: nimble build -v -y -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --gc:orc --opt:size litestore if: matrix.os == 'ubuntu-latest' # Build for macOS/Windows - name: Build (macOS, Windows) - run: nim c -d:release --gc:orc --opt:size litestore + run: nimble build -v -y -d:release --gc:orc --opt:size litestore if: matrix.os == 'macos-latest' || matrix.os == 'windows-latest' + + # Import admin directory and create default db + - name: Import Admin + run: litestore -d:admin import + + # Build guide + - name: Build guide + run: ./build_guide # Retrieve ID and Name of the current (draft) release - name: "Get current release"

@@ -77,12 +90,12 @@ view_top: 1

# Package the resulting Linux/macOS binary - name: Create artifact (Linux, macOS) - run: zip litestore_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.id}}_x64.zip litestore + run: zip litestore_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.id}}_x64.zip litestore data.db LiteStore_UserGuide.htm if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' # Package the resulting Windows binary - name: Create artifact (Windows) - run: Compress-Archive -Path litestore.exe -DestinationPath litestore_${{steps.current-release.outputs.tag_name}}_windows_x64.zip + run: Compress-Archive -Path litestore.exe, data.db, LiteStore_UserGuide.htm -DestinationPath litestore_${{steps.current-release.outputs.tag_name}}_windows_x64.zip if: matrix.os == 'windows-latest' # Upload artifacts to current draft release