Skip to content

Commit

Permalink
fix ci/cd build phase (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
fogfish authored Aug 10, 2024
1 parent 14a7c30 commit 7b071b3
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,20 @@ jobs:
flag-name: ${{ matrix.module }}
parallel: true

finish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true
- name: publish
- name: release
working-directory: ${{ matrix.module }}
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
for mod in `grep -roh "const Version = \".*" * | grep -oh "[[:alnum:]]*/*v[0-9]*\.[0-9]*\.[0-9]*"`
do
git tag $mod 2> /dev/null && git push origin -u $mod 2> /dev/null && echo "[+] $mod" || echo "[ ] $mod"
done
finish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true

0 comments on commit 7b071b3

Please sign in to comment.