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