Skip to content

Commit

Permalink
Fix dispatch name and remove redundant steps
Browse files Browse the repository at this point in the history
  • Loading branch information
KasukabeDefenceForce committed Jul 22, 2024
1 parent a9fb179 commit 06f0220
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: tests
on:
push:
repository_dispatch:
types: [Tardis-Dispatch]
types: [tardis-dispatch]
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -67,13 +67,7 @@ jobs:
id: install-tardis
# shell: bash -l {0}
run: |
if [ "${{ github.event.action }}" == "Tardis-Dispatch" ]; then
echo "Triggered by repository dispatch, installing the latest version of TARDIS."
pip install git+https://github.com/${{github.repository_owner}}/tardis.git@${{ github.event.client_payload.commit_sha }}
else
echo "Not triggered by repository dispatch, installing the latest version of TARDIS."
pip install git+https://github.com/${{ github.repository_owner }}/tardis.git
fi
pip install git+https://github.com/tardis-sn/tardis.git
- name: Install STARDIS
id: install-stardis
Expand Down

0 comments on commit 06f0220

Please sign in to comment.