diff --git a/.github/workflows/build-nightly.yml b/.github/workflows/build-nightly.yml index 5863b81f0..51dc755ab 100644 --- a/.github/workflows/build-nightly.yml +++ b/.github/workflows/build-nightly.yml @@ -4,9 +4,6 @@ on: push: branches: [ "develop" ] -env: - VERSION_NAME: Nightly - jobs: prepare-build: name: Prepare build @@ -36,7 +33,7 @@ jobs: uses: ./.github/workflows/dotnet-desktop.yml with: version: ${{ needs.prepare-build.outputs.version }} - version-name: $VERSION_NAME + version-name: Nightly publish: name: Publish release @@ -44,6 +41,6 @@ jobs: uses: ./.github/workflows/publish-release.yml with: release-name: Latest nightly build - version-name: $VERSION_NAME + version-name: Nightly artifact-x86: ${{ needs.build-windows.outputs.x86 }} artifact-x64: ${{ needs.build-windows.outputs.x64 }} \ No newline at end of file diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 40dcca646..ae8966250 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -39,7 +39,7 @@ jobs: tag_name: ${{ inputs.version-name }} target_commitish: ${{ github.sha }} prerelease: ${{ env.IS_NIGHTLY }} - latest: ${{ !env.IS_NIGHTLY }} + latest: ${{ env.IS_NIGHTLY == false}} generate_release_notes: true attach-artifacts: