Skip to content

Commit

Permalink
Update update_latest_versions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelteil committed May 19, 2023
1 parent 3c637b6 commit 4e73c3e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/update_latest_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ jobs:
update-file:
runs-on: ubuntu-latest

steps:
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}

- name: Update file with release version
run: |
Expand All @@ -22,4 +20,4 @@ jobs:
git config --local user.name "GitHub Action"
git add latest_version.txt
git commit -m "Update latest_version.txt with release version" || true
git push origin ${{ github.head_ref }}
git push origin HEAD:main

0 comments on commit 4e73c3e

Please sign in to comment.