Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Nightly Build
name: Nightly Windows build

on:
schedule:
Expand All @@ -10,9 +10,13 @@ permissions:
contents: write # needed to create/update releases & upload assets
packages: read # needed to pull GHCR image

env:
# CHANGE THIS to your GitHub user or org name (the owner of the original repo)
ORIGIN_OWNER: "OpenJE"

jobs:
build-nightly-linux-container:
if: github.repository_owner == OpenJE
if: github.repository_owner == env.ORIGIN_OWNER
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -70,7 +74,7 @@ jobs:
prerelease: true

build-nightly-windows-msvc:
if: github.repository_owner != OpenJE
if: github.repository_owner != env.ORIGIN_OWNER
runs-on: windows-latest

steps:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Build
name: Build Windows binary for release

on:
release:
Expand All @@ -9,12 +9,16 @@ permissions:
contents: write # needed to upload release assets
packages: read # needed to pull GHCR image

env:
# CHANGE THIS to your GitHub user or org name (the owner of the original repo)
ORIGIN_OWNER: "OpenJE"

jobs:
# 1. Linux job that INVOKES the MSVC 2003 container via docker run
build-linux-container:
# Only run:
# - in the original repo (not forks)
if: github.repository_owner == OpenJE
if: github.repository_owner == env.ORIGIN_OWNER

runs-on: ubuntu-latest

Expand Down Expand Up @@ -67,7 +71,7 @@ jobs:
# 2. Windows job using latest MSVC on windows-latest, with nmake
build-windows-msvc:
# Run on forks (i.e., not the original repo owner)
if: github.repository_owner != OpenJE
if: github.repository_owner != env.ORIGIN_OWNER

runs-on: windows-latest

Expand Down