PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Release workflow: only signing and draft-release jobs use the release environment (#1220)
Brandon Thomasbce7e54a639e
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 67c282afd..f2479745c 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -39,7 +39,7 @@ jobs:version:name: versionruns-on: ubuntu-latest- environment: release+ # No `environment: release`: this job reads no secrets, so a branch dry run can run it.outputs:version: ${{ steps.v.outputs.version }}date: ${{ steps.v.outputs.date }}@@ -186,7 +186,7 @@ jobs:# The oldest GitHub-hosted image, so the binaries only need glibc >= 2.35 (Ubuntu 22.04+,# Debian 12+, Fedora 36+, RHEL 10). See docs/releasing.md.runs-on: ${{ matrix.runner }}- environment: release+ # No `environment: release`: this job reads no secrets, so a branch dry run can run it.strategy:fail-fast: falsematrix:@@ -339,7 +339,7 @@ jobs:name: Web (wasm)needs: versionruns-on: ubuntu-latest- environment: release+ # No `environment: release`: this job reads no secrets, so a branch dry run can run it.env:PHOTOCRAFT_VERSION: ${{ needs.version.outputs.version }}PHOTOCRAFT_BUILD_DATE: ${{ needs.version.outputs.date }}