Skip to content

Commit

Permalink
Building/update (#262)
Browse files Browse the repository at this point in the history
* Update action-gh-release to v2
Add action-create-tag for nightly build to update tag

* Replace rickstaa/action-create-tag@v1 with richardsimko/update-tag@v1

* Add GITHUB_TOKEN

---------

Co-authored-by: dippeal <info@dippe-it.de>
  • Loading branch information
dippeal and dippeal authored Jul 18, 2024
1 parent cbbdb06 commit 98eebb0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/nightly-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,16 @@ jobs:
builddatetime=$(date +'%Y-%m-%d %H:%M')
echo "### Version: $tmp_version | filename: $tmp_filename | build datetime: $builddatetime" >> $GITHUB_STEP_SUMMARY
# Update tag
- name: Tag repo
uses: richardsimko/update-tag@v1
with:
tag_name: ${{ steps.openjverein.outputs.selected_version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.openjverein.outputs.selected_version }}
prerelease: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
echo "### Version: $tmp_version | filename: $tmp_filename | build datetime: $builddatetime" >> $GITHUB_STEP_SUMMARY
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.openjverein.outputs.selected_version }}
prerelease: false
Expand Down

0 comments on commit 98eebb0

Please sign in to comment.