Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
h3rald committed Jan 6, 2024
1 parent 7bf681c commit c4f93a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/add-artifacts-to-current-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:

# 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 }}
Expand All @@ -108,12 +108,12 @@ jobs:
# 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
Expand All @@ -124,6 +124,6 @@ jobs:
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

0 comments on commit c4f93a5

Please sign in to comment.