Skip to content

add server.sshsync.io #26

add server.sshsync.io

add server.sshsync.io #26

Workflow file for this run

name: Builds
on:
pull_request:
branches: [ "main" ]
jobs:
build-docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Build
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
push: false
build-windows:
runs-on: windows-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ">=1.19.7"
-
name: Go Build
run: go build -o ./win-build/ssh-sync.exe -ldflags "-X main.version=${{github.ref_name}}"
shell: powershell
-
name: Inno Build
run: |
& "${env:ProgramFiles(x86)}\Inno Setup 6\iscc.exe" /dMyAppVersion="${{github.ref_name}}" "$env:GITHUB_WORKSPACE\win-build\setup.iss"
shell: powershell
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ">=1.19.7"
- name: Go Build
run: go build -o ssh-sync -ldflags "-X main.version=${{github.ref_name}}"