ddd
This commit is contained in:
@@ -4,37 +4,19 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*' # Se activa solo con tags como v1.0.0, v2.1.3, etc.
|
- 'v*' # Se activa solo con tags como v1.0.0, v2.1.3, etc.
|
||||||
env:
|
|
||||||
GITEA_SERVER_URL: https://gitea.danielarroyo.cl
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
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:
|
steps:
|
||||||
|
- name: Forzar URL de Gitea
|
||||||
|
run: |
|
||||||
|
git config --global url."https://gitea.danielarroyo.cl/".insteadOf "http://gitea:3000/"
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # necesario para git describe
|
fetch-depth: 0 # necesario para git describe
|
||||||
server_url: ${{ env.GITEA_SERVER_URL }}
|
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
|
|||||||
Reference in New Issue
Block a user