hhfrancois run build on hhangular/store #28
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
name: Create Tag/Release | |
run-name: ${{ github.actor }} run build on ${{ github.repository }} | |
on: | |
workflow_dispatch: | |
jobs: | |
create-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.PAT_TOKEN }} # Ceci est necessaire car l'utilisateur par default du workflow, ne DECLENCHE PAS les actions | |
- uses: actions/setup-node@v3 | |
- run: git config user.name "$GITHUB_ACTOR" | |
- run: git config user.email "" | |
- run: npm version patch | |
- run: git push --all | |
- run: git push --tags | |