tar the release files
This commit is contained in:
parent
446fe43635
commit
1439860599
@ -1,10 +1,6 @@
|
||||
run-name: Build artifact for ${{gitea.ref_name}} by @${{ gitea.actor }}
|
||||
on:
|
||||
release:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@ -53,9 +49,11 @@ jobs:
|
||||
go-version: '>=1.20.1'
|
||||
- name: Download workflow run artifact
|
||||
uses: actions/download-artifact@v3
|
||||
- name: Tar files
|
||||
run: tar -cvf ${{gitea.ref_name}}.tar -C ${{gitea.ref_name}}
|
||||
- name: release
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
${{gitea.ref_name}}
|
||||
${{gitea.ref_name}}.tar
|
||||
api_key: '${{secrets.GITEA_TOKEN}}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user