Skip to content

Commit

Permalink
add a checkout step
Browse files Browse the repository at this point in the history
  • Loading branch information
st-pasha committed Nov 28, 2023
1 parent e4d4dd0 commit 680e562
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Prepare environment variables
id: prepare
run: |
echo "DT_BUILD_ID=$($(git rev-list --count origin/main) - 1)" >> $GITHUB_ENV
echo "DT_BUILD_ID=$(($(git rev-list --count origin/main) - 1))" >> $GITHUB_ENV
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
if [[ "$GITHUB_HEAD_REF" =~ ^rel- ]]; then
echo "DT_RELEASE=True" >> $GITHUB_ENV
Expand Down Expand Up @@ -74,6 +74,9 @@ jobs:
needs: setup

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
Expand Down

0 comments on commit 680e562

Please sign in to comment.