Skip to content

Commit

Permalink
Merge branch 'ciprerelease' into 'master'
Browse files Browse the repository at this point in the history
Create Windows prereleases from tags

Closes #8258

See merge request OpenMW/openmw!4495
  • Loading branch information
Capostrophic committed Jan 1, 2025
2 parents 2436142 + ef28696 commit 6ac0880
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ jobs:
vcpkg-deps-tag: ${{ needs.Output-Envs.outputs.VCPKG_DEPS_TAG }}
build-type: Release
package: true
release: true
secrets: inherit
10 changes: 10 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
package:
default: false
type: boolean
release:
default: false
type: boolean

jobs:
Windows:
Expand Down Expand Up @@ -228,3 +231,10 @@ jobs:
- name: Run esm refid benchmark
if: ${{ ! inputs.package }}
run: build/openmw_esm_refid_benchmark.exe

- name: Create prerelease
if: ${{ inputs.release }}
uses: softprops/action-gh-release@v2
with:
files: ${{ github.workspace }}/install/*.exe
prerelease: true

0 comments on commit 6ac0880

Please sign in to comment.