Magnus Åhall
f534f736cc
Some checks failed
Wireguard MFA Windows Agent build / release (push) Failing after 15s
37 lines
1.3 KiB
YAML
37 lines
1.3 KiB
YAML
name: Wireguard MFA Windows Agent build
|
|
run-name: ${{ gitea.actor }} is building a release
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v[0-9]+.[0-9]+.[0-9]+"
|
|
- "build-[0-9]+"
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: go-1.22
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ssh-known-hosts: "[git.gibonuddevalla.se]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII2Od6HUfExymVv/wPJcWiA8mgsuMwEmF7UO+YjqnjWy"
|
|
ssh-strict: "false"
|
|
ssh-key: |
|
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
|
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
|
|
QyNTUxOQAAACCXcMQ9qopV3UjpJlEk8SR7Y/Yq5lpgQdbGqnJIF9MRswAAAJhnEz9qZxM/
|
|
agAAAAtzc2gtZWQyNTUxOQAAACCXcMQ9qopV3UjpJlEk8SR7Y/Yq5lpgQdbGqnJIF9MRsw
|
|
AAAEAe4z14D1zwx6rrcZuxdY2idkVm3aln8ohQjuZ5u2q4KZdwxD2qilXdSOkmUSTxJHtj
|
|
9irmWmBB1saqckgX0xGzAAAAD21hZ251c0BoYWJhbmVybwECAwQFBg==
|
|
-----END OPENSSH PRIVATE KEY-----
|
|
- name: Compile go binaries
|
|
env:
|
|
GOOS: 'windows'
|
|
run: go build -v
|
|
- name: Create release
|
|
id: use-go-action
|
|
uses: https://gitea.com/actions/release-action@main
|
|
with:
|
|
files: |-
|
|
wireguard-mfa.exe
|
|
api_key: 2bb9c46594225f6287ca3a94830bc86c5bef1014
|