-
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.19 KB
/
releasetest.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
name: Release Arturo app
on:
push:
tags:
- 'v*.*.*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Bundle:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-12 # amd64
- macos-latest # arm64 / M1
- windows-latest
outputs:
EXEFILE: ${{ steps.bundler.outputs.EXEFILE }}
VERSION: ${{ steps.bundler.outputs.VERSION }}
steps:
- uses: actions/checkout@v4
- uses: ./
id: bundler
with:
token: ${{ secrets.GITHUB_TOKEN }}
entry: tests/testbundle.art
version: 1.0.0
Release:
runs-on: ubuntu-latest
if: ${{ always() }}
needs: Bundle
steps:
- uses: arturo-lang/bundler-releases@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ needs.Bundle.outputs.EXEFILE }}
version: ${{ needs.Bundle.outputs.VERSION }}