Even nicer README

This commit is contained in:
Sven-Hendrik Haase 2019-08-23 04:32:00 +02:00 committed by GitHub
parent 344275d0b1
commit dbd8f0788d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}
```