diff --git a/.gitea/workflows/latest-release.yaml b/.gitea/workflows/latest-release.yaml index ed634bf..4f721ba 100644 --- a/.gitea/workflows/latest-release.yaml +++ b/.gitea/workflows/latest-release.yaml @@ -1,10 +1,19 @@ -name: Publish Latest Release -on: [push] +name: Releases + +on: + push: + tags: + - '*' + jobs: + build: runs-on: ubuntu-latest + permissions: + contents: write steps: - - name: Publish - uses: ivangabriele/publish-latest-release@v3 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + - uses: actions/checkout@v3 + - uses: ncipollo/release-action@v1 + with: + artifacts: "release.tar.gz,foo/*.txt" + bodyFile: "body.md" \ No newline at end of file