Even nicer README
This commit is contained in:
parent
344275d0b1
commit
dbd8f0788d
@ -20,6 +20,7 @@ This is a common use case as you will want to upload release binaries for your t
|
|||||||
|
|
||||||
Simple example:
|
Simple example:
|
||||||
|
|
||||||
|
```yaml
|
||||||
name: Publish
|
name: Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@ -46,9 +47,11 @@ Simple example:
|
|||||||
asset_name: mything
|
asset_name: mything
|
||||||
tag: {{ github.event.ref }}
|
tag: {{ github.event.ref }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
```
|
||||||
|
|
||||||
Complex example with more operating systems:
|
Complex example with more operating systems:
|
||||||
|
|
||||||
|
```yaml
|
||||||
name: Publish
|
name: Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@ -85,3 +88,4 @@ Complex example with more operating systems:
|
|||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: target/release/${{ matrix.artifact_name }}
|
file: target/release/${{ matrix.artifact_name }}
|
||||||
asset_name: ${{ matrix.asset_name }}
|
asset_name: ${{ matrix.asset_name }}
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user