diff --git a/.github/workflows/build-artifact.yml b/.github/workflows/build-artifact.yml index 4d77f9c0..29d40efb 100644 --- a/.github/workflows/build-artifact.yml +++ b/.github/workflows/build-artifact.yml @@ -20,9 +20,17 @@ jobs: call msbuild -m:5 -nologo -p:Configuration="${{ matrix.configuration }}" -p:Platform="${{ matrix.platform }}" if %ERRORLEVEL%==1 exit %ERRORLEVEL% call release.bat ${{ matrix.configuration }} ${{ matrix.platform }} %commithash%_%GITHUB_RUN_ID% - + - name: Prepare binary name variables + shell: cmd + run: | + if ${{ matrix.platform }}=="Win32" ( + set conf_name=x86 + ) + if ${{ matrix.platform }}=="x64" ( + set conf_name=x64 + ) - name: Upload binaries uses: actions/upload-artifact@master with: - name: build-artifacts - path: distribute/*.7z + name: Dn-FamiTracker_${{ env.commithash }}_${{ env.GITHUB_RUN_ID }}_${{ env.conf_name }}_${{ matrix.configuration }} + path: distribute/*_${{ env.conf_name }}_${{ matrix.configuration }}.7z