-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1009 Bytes
/
run.yaml
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: x
on: push
jobs:
archive:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- user: gkdr
repo: lurch
ref: 'v0.7.0'
- user: cisco
repo: ChezScheme
ref: 'v9.5.4'
steps:
- uses: actions/checkout@v2
with:
repository: ${{ matrix.user }}/${{ matrix.repo }}
ref: ${{ matrix.ref }}
path: repo
submodules: true
- uses: leahneukirchen/actions-archive-all@master
id: archive_all
with:
dir: repo
name: ${{ matrix.repo }}
version: ${{ matrix.ref }}
- name: Create Release
id: create_release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
tag: ${{ matrix.repo }}-${{ matrix.ref }}
body: |
${{ steps.archive_all.outputs.sha256 }}
artifacts: ${{ steps.archive_all.outputs.archive }}