diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index dc45437..2c7885e 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -4,37 +4,19 @@ on: push: tags: - 'v*' # Se activa solo con tags como v1.0.0, v2.1.3, etc. -env: - GITEA_SERVER_URL: https://gitea.danielarroyo.cl jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - include: - - goos: linux - goarch: amd64 - suffix: "" - - goos: linux - goarch: arm64 - suffix: "" - - goos: windows - goarch: amd64 - suffix: ".exe" - - goos: darwin - goarch: amd64 - suffix: "" - - goos: darwin - goarch: arm64 - suffix: "" - steps: + - name: Forzar URL de Gitea + run: | + git config --global url."https://gitea.danielarroyo.cl/".insteadOf "http://gitea:3000/" + - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 # necesario para git describe - server_url: ${{ env.GITEA_SERVER_URL }} - name: Setup Go uses: actions/setup-go@v5