Skip to content

Commit

Permalink
🚧 progress: Explicit shell for run steps.
Browse files Browse the repository at this point in the history
Still waiting for actions/runner#834 to make
`if`'s legal.
  • Loading branch information
make-github-pseudonymous-again committed Aug 19, 2021
1 parent 69ceb60 commit 3b3d521
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ runs:
steps:
- name: Set $PATH 🪜
run: echo "$HOME/.meteor" >> $GITHUB_PATH
shell: bash

- name: Set env.METEOR_RELEASE 📻
run: echo "METEOR_RELEASE=$(cat .meteor/release | cut -d@ -f2)" >> $GITHUB_ENV
shell: bash

- name: Cache ~/.meteor (Meteor ${{ env.METEOR_RELEASE }}) 💿
uses: actions/cache@v2
Expand All @@ -24,6 +26,7 @@ runs:
- name: Install Meteor ${{ env.METEOR_RELEASE }} ☄️
if: steps.cache-meteor.outputs.cache-hit != 'true'
run: curl https://install.meteor.com?release=${{ env.METEOR_RELEASE }} | sh
shell: bash

- name: Cache ~/.npm 📀
uses: actions/cache@v2
Expand All @@ -48,6 +51,7 @@ runs:
- name: Install dependencies 📦
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: meteor npm clean-install
shell: bash

- name: Cache ./.meteor/local 💾
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci:build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v2

- uses: ./action/install
- uses: ./.github/actions/install

- name: Build 🏗️
run: meteor build
2 changes: 1 addition & 1 deletion .github/workflows/ci:test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v2

- uses: ./action/install
- uses: ./.github/actions/install

- name: Lint 👕
run: meteor npm run lint
Expand Down

0 comments on commit 3b3d521

Please sign in to comment.