Skip to content

Commit

Permalink
Fix wf
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Dec 6, 2024
1 parent 1bd66d4 commit 833acc8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
required: false

jobs:
update_and_test:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -28,16 +28,16 @@ jobs:

- run: echo "${{ toJSON(github.event.pull_request.labels.*.name) }}"

- name: Install firehose
run: dart pub global activate -s path pkgs/quest
- name: Install local version of `package:canary`
run: dart pub global activate -s path pkgs/canary
if: ${{ inputs.local_debug }}

- run: dart pub global activate -s git https://github.com/dart-lang/ecosystem.git --git-ref main --git-path pkgs/quest
- run: dart pub global activate -s git https://github.com/dart-lang/ecosystem.git --git-ref main --git-path pkgs/canary
if: ${{ !inputs.local_debug }}

- name: Update package and test
run: |
dart pub global run quest ${{ inputs.repos_file }} ${{ github.repositoryUrl }} ${{ github.head_ref || github.ref_name }} "${{ toJSON(github.event.pull_request.labels.*.name) }}"
dart pub global run canary ${{ inputs.repos_file }} ${{ github.repositoryUrl }} ${{ github.head_ref || github.ref_name }} "${{ toJSON(github.event.pull_request.labels.*.name) }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 833acc8

Please sign in to comment.