cue lang engine refactor (#141) #127
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: Intercept Release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Fetch Tags | |
run: | | |
git fetch --tags -f | |
git describe --abbrev=0 | |
- name: Get dependencies | |
run: | | |
go get -v -t -d ./... | |
if [ -f Gopkg.toml ]; then | |
curl https://x.githubusercontent.com/golang/dep/master/install.sh | sh | |
dep ensure | |
fi | |
- name: Get the compressor | |
run: sudo apt-get update -y ; sudo apt-get install -y upx | |
# - name: Prepare for dev | |
# run: make setup-dev | |
- name: Make all release artifacts | |
run: make | |
- name: Get the version | |
id: get_version | |
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | |
- name: Upload All artifacts | |
uses: meeDamian/[email protected] | |
with: | |
allow_override: "true" | |
draft: "false" | |
token: ${{ secrets.GITHUB_TOKEN }} | |
name: ${{ steps.get_version.outputs.VERSION }} | |
body: > | |
Release ${{ steps.get_version.outputs.VERSION }} | |
gzip: "false" | |
files: > | |
output/core-intercept-rg-x86_64-linux.zip | |
output/core-intercept-rg-x86_64-darwin.zip | |
output/core-intercept-rg-x86_64-windows.zip | |
output/x-intercept.zip | |
bin/intercept-linux_amd64 | |
bin/intercept-windows_amd64.exe | |
bin/intercept-darwin_amd64 | |
bin/intercept-linux_amd64.sha256 | |
bin/intercept-windows_amd64.exe.sha256 | |
bin/intercept-darwin_amd64.sha256 | |
bin/x-intercept-windows_amd64.exe | |
bin/x-intercept-darwin_amd64 | |
bin/x-intercept-linux_amd64 | |
bin/x-intercept-darwin_amd64.sha256 | |
bin/x-intercept-windows_amd64.exe.sha256 | |
bin/x-intercept-linux_amd64.sha256 | |
bin/intercept-linux_amd64.tar.gz | |
bin/intercept-darwin_amd64.tar.gz | |
bin/intercept-windows_amd64.tar.gz | |
bin/intercept-linux_amd64.tar.gz.sha256 | |
bin/intercept-darwin_amd64.tar.gz.sha256 | |
bin/intercept-windows_amd64.tar.gz.sha256 | |
bin/x-intercept-linux_amd64.tar.gz | |
bin/x-intercept-darwin_amd64.tar.gz | |
bin/x-intercept-windows_amd64.tar.gz | |
bin/x-intercept-linux_amd64.tar.gz.sha256 | |
bin/x-intercept-darwin_amd64.tar.gz.sha256 | |
bin/x-intercept-windows_amd64.tar.gz.sha256 | |
output/_version |