mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02:00
fix: inline coverage action script commands
This commit is contained in:
parent
e2442f5a2c
commit
51c1c790b4
12
.github/workflows/build_coverage.yaml
vendored
12
.github/workflows/build_coverage.yaml
vendored
@ -43,11 +43,19 @@ jobs:
|
|||||||
CI: true
|
CI: true
|
||||||
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
||||||
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
||||||
- run: scripts/commit-coverage.sh
|
- run: |
|
||||||
|
git config --global user.name "${GH_NAME}"
|
||||||
|
git config --global user.email "${GH_EMAIL}"
|
||||||
|
GIT_USER="${GH_NAME}"
|
||||||
|
echo "machine github.com login ${GH_NAME} password ${GITHUB_TOKEN}" > ~/.netrc
|
||||||
|
|
||||||
|
git add coverage
|
||||||
|
git diff-index --quiet HEAD || git commit -m 'chore: update coverage reports'
|
||||||
|
git push origin
|
||||||
env:
|
env:
|
||||||
GH_NAME: 'ivarconr'
|
GH_NAME: 'ivarconr'
|
||||||
GH_EMAIL: 'ivarconr@gmail.com'
|
GH_EMAIL: 'ivarconr@gmail.com'
|
||||||
GH_TOKEN: ${{ secrets.GH_PUSH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Coveralls
|
- name: Coveralls
|
||||||
uses: coverallsapp/github-action@master
|
uses: coverallsapp/github-action@master
|
||||||
with:
|
with:
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
git config --global user.name "${GH_NAME}"
|
|
||||||
git config --global user.email "${GH_EMAIL}"
|
|
||||||
echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
|
|
||||||
|
|
||||||
git add coverage
|
|
||||||
git diff-index --quiet HEAD || git commit -m 'chore: update coverage reports'
|
|
||||||
git push origin
|
|
Loading…
Reference in New Issue
Block a user