Skip to content

Commit

Permalink
fixup! fixup! fixup! refactor: github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hugojosefson committed Apr 1, 2024
1 parent 4249ef7 commit 20a95d9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:

steps:
- id: should_run
name: Check whether to run this combination
shell: bash
run: |
set -euo pipefail
Expand Down Expand Up @@ -76,6 +77,7 @@ jobs:
echo "value=false" >> "${GITHUB_OUTPUT}"
- id: needs_deno_installed
name: Check whether to install deno before
if: steps.should_run.outputs.value == 'true'
shell: bash
run: |
Expand All @@ -91,7 +93,7 @@ jobs:
- uses: actions/checkout@v4
if: steps.should_run.outputs.value == 'true'

- name: delete any deno binaries on PATH
- name: Delete any deno binaries on PATH
if: steps.should_run.outputs.value == 'true' && steps.needs_deno_installed.outputs.value == 'false'
shell: bash
run: |
Expand All @@ -117,12 +119,12 @@ jobs:
! deno --version
- name: setup deno ${{ matrix.deno-version }}
- name: Setup deno ${{ matrix.deno-version }}
if: steps.should_run.outputs.value == 'true' && steps.needs_deno_installed.outputs.value == 'true'
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}

- name: make ${{ matrix.target }}
- name: Run "make ${{ matrix.target }}"
if: steps.should_run.outputs.value == 'true'
run: make ${{ matrix.target }}

0 comments on commit 20a95d9

Please sign in to comment.