Update ci.yml

This commit is contained in:
序列号 2023-03-19 19:26:24 +08:00 committed by GitHub
parent e75c33ddab
commit f0a52f0b0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -55,6 +55,7 @@ jobs:
export LD_FLAGS="-w -s -X main.VERSION=unknown"
go mod tidy
go build -o "output/$BINARY_NAME" -trimpath -ldflags "$LD_FLAGS" ./
echo "FIRMWARE=$PWD/output" >> $GITHUB_ENV
echo "::set-output name=status::success"
- name: Generate release tag
@ -71,8 +72,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
body_path: release.txt
files: /opt/openwrt_packit/output/*
files: ${FIRMWARE}
- name: Delete workflow runs
uses: GitRML/delete-workflow-runs@main