Skip to content

Add toolchain file

Add toolchain file #12

Workflow file for this run

name: Release
on:
push:
branches: [ "release-test" ]
tags: [ '[0-9]+.[0-9]+*' ]
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
include:
- os: windows-latest
extension: .exe
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build release binary
run: cargo build --release --locked
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
path: target/release/pbls${{ matrix.extension }}
if-no-files-found: error
publish:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
- name: Create Release
env:
GH_TOKEN: ${{ github.token }}
run: |
ls
echo ref: ${{ github.ref_name }}
ls *
gh release list