Skip to content

Release libquil

Release libquil #35

Workflow file for this run

name: Release libquil
on:
workflow_dispatch:
inputs:
type:
description: Bump versions and trigger a new release.
required: true
default: release
options:
- release
jobs:
build:
uses: ./.github/workflows/build.yml
release:
needs: build
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
steps:
- run: |
git config --global user.name "${{ github.triggering_actor }}"
git config --global user.email "${{ github.triggering_actor }}@users.noreply.github.com"
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Download linux artifacts
uses: actions/download-artifact@v3
with:
name: linux-amd64
path: artifacts/
- name: Archive linux artifacts
run: |
cd artifacts && zip linux-amd64.zip libquil/libsbcl.so libquil/libquil.so libquil/libquil.core libquil/libquil.h
- name: Download macos artifacts
uses: actions/download-artifact@v3
with:
name: macos
path: artifacts/
- name: Archive linux artifacts
run: |
cd artifacts && zip macos.zip libquil/libsbcl.so libquil/libquil.dylib libquil/libquil.core libquil/libquil.h
- name: List artifacts
run: |
ls -R artifacts/
unzip -l artifacts/linux-amd64.zip
unzip -l artifacts/macos.zip
- name: Install Knope
uses: knope-dev/action@v2.0.0
with:
version: 0.11.0
- name: Release
run: knope release -v