mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
♻️ Move defaults to workflow level
This commit is contained in:
parent
9a094b1684
commit
6f658ed2d6
1 changed files with 4 additions and 4 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -3,6 +3,10 @@
|
|||
#
|
||||
---
|
||||
name: release
|
||||
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}
|
||||
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
|
||||
|
@ -15,10 +19,6 @@ on:
|
|||
jobs:
|
||||
release:
|
||||
runs-on: macos-14
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue