Fixes.
h3rald h3rald@h3rald.com
Sat, 06 Jan 2024 18:33:36 +0100
1 files changed,
5 insertions(+),
5 deletions(-)
M
.github/workflows/add-artifacts-to-current-release.yml
→
.github/workflows/add-artifacts-to-current-release.yml
@@ -99,7 +99,7 @@ run: build_guide
# Retrieve ID and Name of the current (draft) release - name: "Get current release" - id: current-relese + id: relese uses: pozetroninc/github-action-get-latest-release@master with: token: ${{ secrets.GITHUB_TOKEN }}@@ -108,12 +108,12 @@
# Package the resulting Linux/macOS binary - name: Create artifact (Linux, macOS) shell: bash - run: zip litestore_${{steps.current-release.outputs.release}}_${{steps.os.outputs.id}}_x64.zip litestore data.db LiteStore_UserGuide.htm + run: zip litestore_${{steps.release.outputs.release}}_${{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, data.db, LiteStore_UserGuide.htm -DestinationPath litestore_${{steps.current-release.outputs.release}}_windows_x64.zip + run: Compress-Archive -Path litestore.exe, data.db, LiteStore_UserGuide.htm -DestinationPath litestore_${{steps.release.outputs.release}}_windows_x64.zip if: matrix.os == 'windows-latest' # Upload artifacts to current draft release@@ -124,6 +124,6 @@ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: file: 'litestore_v*.zip' overwrite: true - tag_name: ${{steps.current-release.outputs.release}} - release_id: ${{steps.current-release.outputs.id }} + tag_name: ${{steps.release.outputs.release}} + release_id: ${{steps.release.outputs.id }} verbose: true