Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
Update main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong committed Nov 24, 2021
1 parent c4b0dca commit 0f6c263
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ jobs:
with:
fetch-depth: 0

- name: codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: ./coverage1.xml,./coverage2.xml
flags: unittests
path_to_write_report: ./coverage/codecov_report.txt
verbose: true

- uses: actions/setup-go@v2
with:
node-version: '1.16'
Expand Down Expand Up @@ -64,10 +74,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}


# - name: release publish
# run: docker run --rm --privileged -e CGO_ENABLED=1 -e GITHUB_TOKEN=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 -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`:/go/src/github.com/a624669980/go-aliyun-webdav -v `pwd`/sysroot:/sysroot -w /go/src/github.com/a624669980/go-aliyun-webdav troian/golang-cross release --rm-dist
Expand Down

0 comments on commit 0f6c263

Please sign in to comment.