Skip to content

[V1.0.0 Alpha 5] Development Work #125

[V1.0.0 Alpha 5] Development Work

[V1.0.0 Alpha 5] Development Work #125

Workflow file for this run

name: Test Windows
on:
push:
branches:
- main
pull_request:
permissions:
deployments: write
contents: write
jobs:
build-windows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Delete previous containers.
run: docker rmi -f $(docker images -aq) || true
- name: Build the Docker image for Windows.
run: docker build -f ./docker/Dockerfile-windows -t cyberether-windows .
- name: Copy binary from Docker container.
run: docker run -v $(pwd):/tmp --rm cyberether-windows bash -c "cp cyberether/build-static/cyberether.exe /tmp"
- name: Upload binary.
uses: actions/upload-artifact@v4
with:
name: cyberether-windows-x86_64.exe
path: ./cyberether.exe