ci: why are there two -r args to tea?
This commit is contained in:
@@ -8,20 +8,6 @@ on:
|
||||
type: boolean
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: |-
|
||||
curl -sv "$GITHUB_API_URL/repos/codinget/actions-test/actions/workflows/test-inputs.yaml/dispatches" \
|
||||
-X POST \
|
||||
-H "Authorization: token ${{ gitea.token }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"ref": "refs/heads/main",
|
||||
"inputs": {
|
||||
"restart": ${{ inputs.restart }}
|
||||
}
|
||||
}'
|
||||
test-with-tea:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -30,4 +16,4 @@ jobs:
|
||||
- name: Add token
|
||||
run: ./tea login add --url "${{ gitea.server_url }}" --token "${{ gitea.token }}" --name gitea
|
||||
- name: Trigger with tea
|
||||
run: ./tea actions workflows dispatch -r "${{ gitea.repository }}" -r main --login "gitea" test-inputs.yaml
|
||||
run: ./tea actions workflows dispatch --repo "${{ gitea.repository }}" --ref main --login "gitea" test-inputs.yaml
|
||||
|
||||
Reference in New Issue
Block a user