Skip to content

Commit

Permalink
Some refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
robvadai committed May 16, 2024
1 parent 49baf7d commit 8e3d2ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: tag
on:
workflow_run:
workflows: ["test"]
workflows:
- test
branches:
- main
- dev
types: [completed]
types:
- completed
jobs:
tag:
name: Tag the repository
Expand Down
17 changes: 1 addition & 16 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,4 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install coveralls
python -m coveralls --service=github --finish
tag:
needs: test
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Bump version and push tag
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
PRERELEASE_SUFFIX: snapshot
python -m coveralls --service=github --finish

0 comments on commit 8e3d2ab

Please sign in to comment.