Skip to content

Commit

Permalink
Updating the release step to fix and be able to release the action
Browse files Browse the repository at this point in the history
  • Loading branch information
fmacleal authored and RIT Release Bot committed Aug 14, 2024
1 parent 86296cf commit e0a0638
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion container-action/action.yml → action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ outputs:

runs:
using: docker
image: Dockerfile
image: ./container-action/Dockerfile
env:
INPUT_RSKJ_BRANCH: ${{ inputs.rskj-branch }}
INPUT_POWPEG_NODE_BRANCH: ${{ inputs.powpeg-node-branch }}
Expand Down
2 changes: 1 addition & 1 deletion container-action/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The output message of the integration tests. It will be:
## Example usage

```yaml
uses: rootstock-integration-tests@v1
uses: rsksmart/rootstock-integration-tests@v1
with:
rskj-branch: master
powpeg-node-branch: master
Expand Down

0 comments on commit e0a0638

Please sign in to comment.