Skip to content

Commit

Permalink
set env variables in .cirrus.yml at the root level to reduce duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianinsaval committed Aug 2, 2023
1 parent 612a702 commit e68fa65
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
env:
DEPLOY_RELEASE: weekly-builds
GH_TOKEN: ENCRYPTED[7a45c1bfc23b47bdf2bf67d0e5936e16314c88d0ecc3932c44e7c14df46b763362815f2522305c5c42ce09f35a219b1c]

macos_task:
# Basic metadata:
name: dmg-bundle
Expand All @@ -6,11 +10,6 @@ macos_task:
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest

# Environment variables:
env:
DEPLOY_RELEASE: weekly-builds
GH_TOKEN: ENCRYPTED[7a45c1bfc23b47bdf2bf67d0e5936e16314c88d0ecc3932c44e7c14df46b763362815f2522305c5c42ce09f35a219b1c]

# Instructions:
bundle_script: |
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
Expand Down Expand Up @@ -39,8 +38,6 @@ linux_task:

# Environment variables:
env:
DEPLOY_RELEASE: weekly-builds
GH_TOKEN: ENCRYPTED[7a45c1bfc23b47bdf2bf67d0e5936e16314c88d0ecc3932c44e7c14df46b763362815f2522305c5c42ce09f35a219b1c]
DEBIAN_FRONTEND: noninteractive

# Instructions:
Expand Down

0 comments on commit e68fa65

Please sign in to comment.