Skip to content

Commit

Permalink
FIX Don't try to use git when we haven't checked out the code (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Aug 27, 2024
1 parent 24e1aea commit 2cb2828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
env:
GITHUB_REPOSITORY: ${{ github.repository }}
BRANCH: ${{ github.ref_name }}
LATEST_LOCAL_SHA: ${{ github.sha }}
steps:

- name: Dispatch tag patch release
shell: bash
id: dispatch-tag-patch-release
run: |
LATEST_LOCAL_SHA=$(git rev-parse HEAD)
echo "LATEST_LOCAL_SHA is $LATEST_LOCAL_SHA"
# https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#create-a-workflow-dispatch-event
RESP_CODE=$(curl -w %{http_code} -s -L -o __response.json \
Expand Down

0 comments on commit 2cb2828

Please sign in to comment.