-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating the release step to fix and be able to release the action
- Loading branch information
Showing
3 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,19 +109,18 @@ jobs: | |
name: Publish RIT Action tag | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
# if: github.ref == 'refs/heads/main' | ||
if: github.ref == 'refs/heads/main' | ||
permissions: | ||
contents: write | ||
packages: write | ||
contents: write | ||
|
||
steps: | ||
- name: Checkout | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Create a Release | ||
uses: elgohr/Github-Release-Action@v5 | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: rootstock-integration-tests@v1 | ||
title: Release rootstock-integration-tests@v1 | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Publish new version | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "RIT Release Automation" | ||
git tag -fa v1 -m "Updating rootstock-integration-tests container action v1" | ||
git push origin v1 --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters