0.4.0 #7
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
# Copyright (c) 2023 Intercreate, Inc. | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
# Authors: J.P. Hutchins <jp@intercreate.io> | |
name: Release | |
permissions: | |
contents: write | |
on: | |
release: | |
types: [published] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure & run examples | |
run: cmake -B build | |
- name: Package source code | |
run: cmake --build build --target package | |
- name: Add packaged source code to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: build/ic_cmake.zip | |
tag: ${{ github.ref }} | |
- name: Add fetch_ic.cmake to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: fetch_ic.cmake | |
tag: ${{ github.ref }} |