Skip to content

[test] use nix to build the codegen binary #4

[test] use nix to build the codegen binary

[test] use nix to build the codegen binary #4

Workflow file for this run

name: Generate Test elf
on:
push:
paths:
- 'tests/**'
pull_request:
paths:
- 'tests/**'
jobs:
gen-test-artifacts:
runs-on: [self-hosted, linux]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- run: sudo -E .github/setup-actions.sh
env:
AWS_CREDENTIALS: ${{secrets.AWS_CREDENTIALS}}
CACHE_PRIV_KEY: ${{secrets.CACHE_PRIV_KEY}}
CACHE_DOMAIN: ${{secrets.CACHE_DOMAIN}}
- uses: cachix/install-nix-action@v19
with:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
post-build-hook = /etc/nix/upload-to-cache.sh
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= minio.inner.fi.c-3.moe:gDg5SOIH65O0tTV89dUawME5BTmduWWaA7as/cqvevM=
extra-substituters = https://${{secrets.CACHE_DOMAIN}}/nix
- run: nix develop -c make gen-tests-artifacts
- uses: softprops/action-gh-release@v1
with:
files: tests-artifacts.tar.gz
tag_name: ${{ GITHUB_SHA }}

Check failure on line 33 in .github/workflows/gen-test-elf.yml

View workflow run for this annotation

GitHub Actions / Generate Test elf

Invalid workflow file

The workflow is not valid. .github/workflows/gen-test-elf.yml (Line: 33, Col: 21): Unrecognized named-value: 'GITHUB_SHA'. Located at position 1 within expression: GITHUB_SHA