Skip to content

move elixir cache code #313

move elixir cache code

move elixir cache code #313

Workflow file for this run

name: Make
permissions:
contents: read
on:
pull_request:
paths:
- '.github/workflows/make.yml'
- '**/Makefile'
- 'tools/nix/**'
- '.github/actions/**'
push:
paths:
- '.github/workflows/make.yml'
- '**/Makefile'
- 'tools/nix/**'
- '.github/actions/**'
branches:
- develop
schedule:
# At 1 am.
- cron: '0 1 * * *'
workflow_dispatch:
inputs:
commit_sha:
description: Git commit sha, on which, to run this workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
defaults:
run:
shell: nix develop ./tools/nix --ignore-environment --keep CI --command bash {0}
env:
CI: true
jobs:
full_build_in_release_mode:
name: Make - full_build_in_release_mode
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ github.event.inputs.commit_sha }}
- uses: ./.github/actions/cache_nix
with:
cache-unique-id: full_build
id: nix-installer
- uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43
- uses: ./.github/actions/elixir_cache
- run: make
- uses: ./.github/actions/nix_upload_store
if: ${{ steps.nix-installer.outputs.cache-hit != 'true' }}