[V1.0.0 Alpha 5] Development Work #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |