diff options
author | Alexander NeonXP Kiryukhin <i@neonxp.ru> | 2024-08-07 22:28:46 +0300 |
---|---|---|
committer | Alexander NeonXP Kiryukhin <i@neonxp.ru> | 2024-08-07 23:02:32 +0300 |
commit | 60fcc66b01c311d842807b6698c05c769740ae22 (patch) | |
tree | f6ce212a097eaba95c5cfce6507032be5e91e301 /.forgejo/workflows/build.yml | |
parent | d74e5f27a6f61310f3a93a5d38d3b7398cc33b5b (diff) |
Эксперимент с workflowmaster
Diffstat (limited to '.forgejo/workflows/build.yml')
-rw-r--r-- | .forgejo/workflows/build.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml new file mode 100644 index 0000000..a117b68 --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,22 @@ +on: [push] +jobs: + test: + runs-on: docker + steps: + - uses: https://code.forgejo.org/actions/checkout@v3 + with: + fetch-depth: 0 + - uses: https://code.forgejo.org/actions/setup-go@v4 + with: + go-version-file: "go.mod" + - name: Install dependencies + run: go mod download + - name: Build go + run: go build -o serv -v ./... + - uses: https://code.forgejo.org/actions/forgejo-release@v1 + with: + direction: upload + url: https://gitrepo.ru + repo: neonxp/serv + release-dir: neonxp/serv + token: '${{secrets.RELEASE_TOKEN}}'
\ No newline at end of file |