Skip to content

Commit

Permalink
fix(ci): move env key from root scope to job scope
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 23, 2020
1 parent 19e0a7c commit 0259ab2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
tags:
- 'v*-beta.*'

env:
NODE_VERSION: 14
TARGET: $(echo ${{ runner.os }} | tr '[:upper:]' '[:lower:]')
ASSET_FILENAME: vim-doge-$(echo ${{ runner.os }} | tr '[:upper:]' '[:lower:]')

jobs:
create_release:
name: create_release
Expand Down Expand Up @@ -41,6 +36,10 @@ jobs:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on : ${{ matrix.os }}
env:
NODE_VERSION: 14
TARGET: $(echo ${{ runner.os }} | tr '[:upper:]' '[:lower:]')
ASSET_FILENAME: vim-doge-$(echo ${{ runner.os }} | tr '[:upper:]' '[:lower:]')
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit 0259ab2

Please sign in to comment.