simh-testsetgenerator/.github/workflows/release.yml
B. Scott Michel 8b14bb69be
CMake build infrastructure II (#53)
* CMake build infrastructure

The squashed commit that builds and packages releases for the SIMH
simulator suite with CMake, version 3.14 or newer.

See README-CMake.md for documentation.
2023-05-17 20:18:42 -04:00

40 lines
887 B
YAML

name: Release packaging
on:
push:
tags:
- 'v*'
- 'simh-*'
jobs:
build:
uses: ./.github/workflows/cmake-builds.yml
release:
runs-on: ubuntu-22.04
needs: [build]
steps:
- uses: actions/checkout@v3
- name: Make staging directory
run: |
rm -rf work/open-simh/open-simh/staging/
mkdir -p work/open-simh/open-simh/staging/
- name: Download packages
uses: actions/download-artifact@v3
with:
path: ~/work/open-simh/open-simh/staging/
- name: Show it!
run: |
ls -lR ~/work/open-simh/open-simh/staging/
echo "----"
pwd
echo "----"
ls -CF
- name: Craft release
uses: softprops/action-gh-release@v1
with:
body_path: cmake/GitHub-release.md
files: |
staging/*/simh-*