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