tar the release files
Some checks failed
/ build (release) Successful in 18s
/ release (release) Failing after 8s

This commit is contained in:
Grant 2025-03-16 17:50:26 -06:00
parent 446fe43635
commit 1439860599

View File

@ -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}}'