File tree Expand file tree Collapse file tree 3 files changed +24
-19
lines changed Expand file tree Collapse file tree 3 files changed +24
-19
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Binaries
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ build :
10+ name : Publish binaries
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v3
15+ - name : Build
16+ run : cargo build --release
17+ - name : Upload binaries to release
18+ uses : svenstaro/upload-release-action@v2
19+ with :
20+ repo_token : ${{ secrets.PAT }}
21+ file : README.md
22+ asset_name : mything
23+ tag : ${{ github.ref }}
24+ overwrite : true
Original file line number Diff line number Diff line change 4646 run : |
4747 pytest --doctest-glob="*.md" --doctest-modules --cov=callscript --cov-report term --cov-report html:htmlcov --cov-report xml
4848 coveralls --service=github
49- - name : Upload binaries to release
50- if : ${{startsWith(github.ref, 'refs/tags/') }}
51- uses : svenstaro/upload-release-action@v2
52- with :
53- repo_token : ${{ secrets.PAT }}
54- file : README.md
55- tag : ${{ github.ref }}
56- overwrite : true
57- body : ${{ github.ref }}
58-
Original file line number Diff line number Diff line change 3737 with :
3838 user : __token__
3939 password : ${{ secrets.PYPI_API_TOKEN }}
40- # - name: Upload files to a GitHub release
41- # uses: svenstaro/[email protected] 42- # with:
43- # file: README.md
44- # asset_name: README-Release.md
45- # overwrite: true
46- # # If true the file can be a glob pattern, asset_name is ignored if this is true.
47- # # file_glob: # optiona
48-
You can’t perform that action at this time.
0 commit comments