Workflow fixes.
h3rald h3rald@h3rald.com
Wed, 31 Mar 2021 14:20:10 +0200
1 files changed,
5 insertions(+),
5 deletions(-)
jump to
M
.github/workflows/release.yml
→
.github/workflows/release.yml
@@ -66,12 +66,12 @@ run: nim c -d:release --gc:orc --deepcopy:on --opt:size mn
if: matrix.os == 'windows-latest' - name: Get Version (Linux, MacOS) - id: version + id: version-nix run: echo "::set-output name=id::$(./mn mntool info:version)" if: matrix.os == 'macos-latest' || matrix.os == 'linux-latest' - name: Get Version (Windows) - id: version + id: version-win run: echo "::set-output name=id::$(mn mntool info:version)" if: matrix.os == 'windows-latest'@@ -79,19 +79,19 @@ # Package the resulting Linux binary
- name: Create artifact (Linux) run: | install -m 0755 ./mn . - zip mn_v${{steps.version.outputs.id}}_linux_x64.zip mn + zip mn_v${{steps.version-nix.outputs.id}}_linux_x64.zip mn if: matrix.os == 'linux-latest' # Package the resulting MacOS binary - name: Create artifact (MacOS) run: | install -m 0755 ./mn . - zip mn_v${{steps.version.outputs.id}}_macosx_x64.zip mn + zip mn_v${{steps.version-nix.outputs.id}}_macosx_x64.zip mn if: matrix.os == 'macosx-latest' # Package the resulting Windows binary - name: Create artifact (Windows) - run: 7zip a -tzip mn_v${{steps.version.outputs.id}}_windows_x64.zip mn.exe + run: 7zip a -tzip mn_v${{steps.version-win.outputs.id}}_windows_x64.zip mn.exe if: matrix.os == 'windows-latest' # Upload artifacts