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: 3 additions & 7 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Nightly Windows build
name: Nightly Build

on:
schedule:
Expand All @@ -10,13 +10,9 @@ 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 == vars.ORIGIN_OWNER
if: github.repository_owner == OpenJE
runs-on: ubuntu-latest

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

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

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

on:
release:
Expand All @@ -9,16 +9,12 @@ 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 == vars.ORIGIN_OWNER
if: github.repository_owner == OpenJE

runs-on: ubuntu-latest

Expand Down Expand Up @@ -71,7 +67,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 != vars.ORIGIN_OWNER
if: github.repository_owner != OpenJE

runs-on: windows-latest

Expand Down