eql-2.1.4 #71
Workflow file for this run
This file contains hidden or 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: | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
with: | |
version: 2025.1.6 # [default: latest] mise version to install | |
install: true # [default: true] run `mise install` | |
cache: true # [default: true] cache mise using GitHub's cache | |
- name: Build EQL release | |
run: | | |
mise run build --version ${{github.event.release.tag_name}} | |
- 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 | |
release/cipherstash-encrypt-supabase.sql | |
release/cipherstash-encrypt-uninstall-supabase.sql |