Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWaldorf authored Aug 24, 2023
1 parent 8ade79f commit be46f85
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ on:
jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: setup go
uses: https://github.com/actions/setup-go@v4
uses: actions/setup-go@v4
with:
go-version: '>=1.20.1'

- name: go build
run: go build -o bin/myapp

- name: Use Go Action
id: use-go-action
uses: https://gitea.com/actions/release-action@main
uses: https://github.com/BenchmarkSims/release-action.git@main
with:
files: |-
bin/**
api_key: '${{secrets.RELEASE_TOKEN}}'
```
You can find real examples here:
- https://gitea.com/xorm/reverse/src/branch/main/.gitea/workflows/release-tag.yml

0 comments on commit be46f85

Please sign in to comment.