Skip to content

Compress released zip file #135

Compress released zip file

Compress released zip file #135

Workflow file for this run

name: ci
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.22'
- uses: gacts/install-hurl@v1
- name: Build
run: go build -v ./...
- name: Run Go Tests
run: go test -v ./...
- name: Run Integration Tests
run: go run ./test
- name: Build binaries for all platforms
run: .github/workflows/release.sh
- uses: actions/upload-artifact@v3
with:
name: xtemplate-dist
path: 'dist/*'
- name: Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: 'dist/*'