diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 3e723c1..6de2bda 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -63,20 +63,19 @@ jobs: ENDJSON - name: Create Release - uses: softprops/action-gh-release@v2 + uses: actions/gitea-release-action@v1 with: - name: ${{ gitea.ref_name }} - generate_release_notes: true - files: | + files: |- wgrplane-linux-amd64 wgrplane-linux-arm64 latest.json - env: - GITHUB_TOKEN: ${{ secrets.TOKEN_BUILD }} + token: ${{ secrets.TOKEN_BUILD }} - name: Cleanup build artifacts if: always() run: | + git config --global --remove-section http || true + git config --global --unset-all core.askPass || true rm -f wgrplane-linux-amd64 wgrplane-linux-arm64 latest.json rm -rf app/frontend/node_modules app/frontend/dist echo "Cleanup done"