-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (50 loc) · 1.27 KB
/
test.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
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Test
on: [push]
jobs:
test:
timeout-minutes: 10
name: ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
matrix:
target:
- debian:10
# - debian:11
# - debian:12
# - ubuntu:20.04
# - ubuntu:22.04
# - ubuntu:24.04
# - el:7
# - el:8
# - el:9
# - sles:12
# - sles:15
steps:
- uses: actions/checkout@v4
with:
path: action
- uses: actions/checkout@v4
with:
repository: crohr/blank-sinatra-app
ref: master
path: app
- uses: ./action/package
id: package
with:
target: ${{ matrix.target }}
name: blank-sinatra-app
version: '1.0.0'
path: app
- name: Upload
uses: actions/upload-artifact@v4
with:
name: ${{ steps.package.outputs.package_name }}
path: ${{ steps.package.outputs.package_path }}
- name: Publish
uses: ./action/publish
with:
target: ${{ matrix.target }}
token: ${{ secrets.PUBLISH_TOKEN }}
repository: crohr/blank-sinatra-app
channel: master
artefact: ${{ steps.package.outputs.package_path }}