Skip to content

Commit

Permalink
Test build nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Jun 21, 2024
1 parent 3a272a2 commit 58fc18f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build_nigthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
VERSION=$(grep '^version =' Cargo.toml | cut -d '"' -f2)
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
- name: Delete release
- name: Delete current nightly release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand All @@ -42,7 +42,12 @@ jobs:
echo "Release not found"
fi
- name: Create and push tag
- name: Delete nightly tag
run: |
git tag -d v${{ steps.get_version.outputs.VERSION }}-nightly
git push origin :refs/tags/v${{ steps.get_version.outputs.VERSION }}-nightly
- name: Create and push nightly tag
run: |
echo "Created tag: v${{ steps.get_version.outputs.VERSION }}"
git config user.name github-actions
Expand Down

0 comments on commit 58fc18f

Please sign in to comment.