Skip to content

fix: workflow

fix: workflow #2

Workflow file for this run

name: Release dpr Binary
permissions:
contents: write
on:
push:
tags:
- 'v*.*.*'
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Build Linux amd64 binary
run: |
go build -o dpr .
- name: Upload Release Asset
env:: softprops/action-gh-release@v2
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Check failure on line 29 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 29
files: dpr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}