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