-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (45 loc) · 1.21 KB
/
release-eql.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
53
54
name: "Release EQL"
on:
release:
types:
- published
pull_request: # runs everything but the last step
branches:
- main
paths:
- .github/workflows/release-eql.yml
# Useful for debugging
workflow_dispatch:
defaults:
run:
shell: bash -l {0}
permissions:
contents: write
jobs:
build-and-publish:
runs-on: ubuntu-latest
name: Build EQL
if: ${{ github.event_name != 'release' || contains(github.event.release.tag_name, 'eql') }}
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install asdf & tools
uses: asdf-vm/actions/install@v3
- name: Build EQL release
run: |
just build
- name: Upload EQL artifacts
uses: actions/upload-artifact@v4
with:
name: eql-release
path: |
release/cipherstash-encrypt.sql
release/cipherstash-encrypt-uninstall.sql
- name: Publish EQL release artifacts
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
release/cipherstash-encrypt.sql
release/cipherstash-encrypt-uninstall.sql