mirror of
https://github.com/mas-cli/mas
synced 2025-02-16 12:38:30 +00:00
♻️ Move env to workflow level
This commit is contained in:
parent
6f658ed2d6
commit
30a4987d39
1 changed files with 5 additions and 5 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -7,6 +7,11 @@ defaults:
|
|||
run:
|
||||
# Prefixes all `run` commands with the following command to force them to run outside Rosetta.
|
||||
shell: arch -arm64 bash --noprofile --norc -eo pipefail {0}
|
||||
env:
|
||||
DRY_RUN: true
|
||||
# Dry run version pinned to real release for testing brew build system
|
||||
MAS_VERSION: v1.8.7-beta.1
|
||||
RELEASE_COMMIT: f8be3e9aaa6c78490277976f17041f2577f5dc21
|
||||
on:
|
||||
# The `push` event is used only for testing while making changes to this workflow.
|
||||
# This will be detected by the `github.event.release.name` being empty which
|
||||
|
@ -19,11 +24,6 @@ on:
|
|||
jobs:
|
||||
release:
|
||||
runs-on: macos-14
|
||||
env:
|
||||
DRY_RUN: true
|
||||
# Dry run version pinned to real release for testing brew build system
|
||||
MAS_VERSION: v1.8.7-beta.1
|
||||
RELEASE_COMMIT: f8be3e9aaa6c78490277976f17041f2577f5dc21
|
||||
steps:
|
||||
|
||||
# Logs event details and sets `DRY_RUN` env var
|
||||
|
|
Loading…
Add table
Reference in a new issue