Skip to content

Commit

Permalink
Merge pull request #136 from ciatph/fix/ciatph-134
Browse files Browse the repository at this point in the history
fix: run scheduled tests from latest tag
ciatph authored Jan 28, 2025
2 parents 9e4fd8a + eff66e0 commit 6432b79
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/scheduled-test.yml
Original file line number Diff line number Diff line change
@@ -18,8 +18,14 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.release.tag_name }}

- name: Fetch and check out latest tag
run: |
git fetch --tags
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "Checking out latest tag: $LATEST_TAG"
git checkout $LATEST_TAG
echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV
- name: Use NodeJS v16.14.2
uses: actions/setup-node@v3

0 comments on commit 6432b79

Please sign in to comment.