Skip to content

Commit

Permalink
Fix task-id again
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy committed Jan 31, 2024
1 parent 5da8872 commit 0bd4229
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/asana-upload/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
using: "composite"
steps:
- run: |
curl -s "https://app.asana.com/api/1.0/tasks/${task-id}/attachments" \
curl -s "https://app.asana.com/api/1.0/tasks/${{ inputs.task-id }}/attachments" \
-H "Authorization: Bearer ${{ inputs.access-token }}" \
--form "file=@${{ inputs.file-name }}"
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/extract-asana-task-assignee/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
steps:
- id: extract-assignee-id
run: |
assignee_id=$(curl -s "https://app.asana.com/api/1.0/tasks/${task-id}?opt_fields=assignee" \
assignee_id=$(curl -s "https://app.asana.com/api/1.0/tasks/${{ inputs.task-id }}?opt_fields=assignee" \
-H "Authorization: Bearer ${{ inputs.access-token }}" \
| jq -r '.data.assignee.gid')
shell: bash

0 comments on commit 0bd4229

Please sign in to comment.