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:
|
Simple example:
|
||||||
|
|
||||||
name: Publish
|
```yaml
|
||||||
|
name: Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
create:
|
create:
|
||||||
tags:
|
tags:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Publish binaries
|
name: Publish binaries
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -46,16 +47,18 @@ 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:
|
||||||
|
|
||||||
name: Publish
|
```yaml
|
||||||
|
name: Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
create:
|
create:
|
||||||
tags:
|
tags:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Publish for ${{ matrix.os }}
|
name: Publish for ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
@ -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