forked from open-simh/simh
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 887 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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-*