From 83fa23df58e3bb3857c2dfba4d43c8b7a84a64a2 Mon Sep 17 00:00:00 2001 From: KeksNino Date: Mon, 20 Oct 2025 17:58:40 +0200 Subject: [PATCH] fix release file names --- .github/workflows/dev.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 17e10e8..f267b4c 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -37,6 +37,7 @@ jobs: runs-on: ${{ matrix.os }} outputs: version: ${{ steps.version.outputs.version }} + short_sha: ${{ steps.version.outputs.short_sha }} steps: - name: Checkout code @@ -130,7 +131,7 @@ jobs: - name: Prepare release files run: | mkdir -p release - SHORT_SHA="${{ steps.version.outputs.short_sha }}" + SHORT_SHA="${{ needs.build.outputs.short_sha }}" cp artifacts/ubuntu-latest-build/SoftwareManager-dev-*-linux release/SoftwareManager-dev-${SHORT_SHA}-linux cp artifacts/windows-latest-build/SoftwareManager-dev-*-windows.exe release/SoftwareManager-dev-${SHORT_SHA}-windows.exe cp artifacts/macos-latest-build/SoftwareManager-dev-*-macos release/SoftwareManager-dev-${SHORT_SHA}-macos @@ -144,8 +145,8 @@ jobs: name: ${{ needs.build.outputs.version }} prerelease: true files: | - release/SoftwareManager-dev-${{ steps.version.outputs.short_sha }}-linux - release/SoftwareManager-dev-${{ steps.version.outputs.short_sha }}-windows.exe - release/SoftwareManager-dev-${{ steps.version.outputs.short_sha }}-macos + release/SoftwareManager-dev-${{ needs.build.outputs.short_sha }}-linux + release/SoftwareManager-dev-${{ needs.build.outputs.short_sha }}-windows.exe + release/SoftwareManager-dev-${{ needs.build.outputs.short_sha }}-macos env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}