Define SSL so nimble is happy #9
Workflow file for this run
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
# This workflow will automatically upload a binary artifact when a release/tag is created | |
name: Build and upload binary | |
on: | |
# allow to build manually | |
workflow_dispatch: | |
# build automatically when pushing a tag | |
push: | |
branches: | |
- "!*" | |
tags: | |
- "v*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Nim | |
uses: jiro4989/setup-nim-action@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install zig | |
uses: korandoru/setup-zig@v1 | |
with: | |
zig-version: 0.11.0 | |
- name: Build binary | |
run: | | |
nimble -y release | |
- name: Upload binaries to release/tag | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
overwrite: true | |
tag: ${{ github.ref }} | |
file_glob: true | |
file: bin/* |