Skip to content

0.3.12

0.3.12 #20

Workflow file for this run

name: release
on:
release:
types: [published]
jobs:
release-linux-x64-binary:
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v4
with:
path: |
~/.cache/bazelisk
~/.cache/bazel-disk-cache
key: ${{runner.os}}-bazel-cache
- uses: actions/checkout@v4
- run: "bazel build --config=ci //:ecsact_cli"
- run: "cp ./bazel-bin/ecsact/cli/ecsact ecsact_${{ github.ref_name }}_linux_x64"
- run: "gh release upload ${{ github.ref_name }} ecsact_${{ github.ref_name }}_linux_x64"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
release-windows-x64-binary:
runs-on: windows-latest
steps:
- uses: actions/cache@v4
with:
path: |
/Users/runneradmin/AppData/Local/bazelisk
/Users/runneradmin/.cache/bazel-disk-cache
key: ${{runner.os}}-bazel-cache
- uses: actions/checkout@v4
- run: "bazel build --config=ci //:ecsact_cli"
- run: 'Copy-Item .\bazel-bin\ecsact\cli\ecsact.exe -Destination .\ecsact_${{ github.ref_name }}_windows_x64.exe'
- run: "gh release upload ${{ github.ref_name }} ./ecsact_${{ github.ref_name }}_windows_x64.exe"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}