name: Build
on:
push:
branches:
pull_request:
branches:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release --verbose
# - name: artifacts
# run: cp .\target\debug\ariane.exe ariane.exe
- name: artifacts
uses: actions/upload-artifact@v3
# if: startsWith(github.ref, 'refs/tags/')
with:
name: ariane
path: .\target\release\ariane.exe
# with:
# files: target\release\ariane.exe
# tag: latest
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}