Build and Uninstall #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Publish EQL release artifacts | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
release/cipherstash-eql.sql | |
release/cipherstash-eql-uninstall.sql |