Update add-artifacts-to-current-release.yml
Fabio Cevasco h3rald@h3rald.com
Wed, 14 Apr 2021 03:39:49 +0200
1 files changed,
11 insertions(+),
6 deletions(-)
M
.github/workflows/add-artifacts-to-current-release.yml
→
.github/workflows/add-artifacts-to-current-release.yml
@@ -92,11 +92,15 @@ if: matrix.os == 'macos-latest' || matrix.os == 'windows-latest'
# Import admin directory and create default db - name: Import Admin - run: litestore -d:admin import + shell: bash + run: | + cp src/admin/ admin/ + litestore -d:admin import # Build guide - name: Build guide - run: sh build_guide + shell: bash + run: ./build_guide # Retrieve ID and Name of the current (draft) release - name: "Get current release"@@ -109,13 +113,14 @@ view_top: 1
# Package the resulting Linux/macOS binary - name: Create artifact (Linux, macOS) + shell: bash 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' + #if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' # Package the resulting Windows binary - - name: Create artifact (Windows) - 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' + #- name: Create artifact (Windows) + # 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 - name: "Upload to current release"