diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index f9fd571..1a558b8 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -1,22 +1,24 @@ name: release -on: +on: push: tags: - - '*' + - "*" jobs: release: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Use Go Action - id: use-go-action - uses: actions/release-action@main - with: - files: |- - bin/** - api_key: '${{secrets.RELEASE_TOKEN}}' + + - name: Create Gitea Release + uses: gitea.com/actions/gitea-release-action@main + with: + token: ${{ secrets.GITEA_TOKEN }} + tag_name: ${{ gitea.ref_name }} + name: ${{ gitea.ref_name }} + body: "Automated release"