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