Skip to content

polkadot-sdk: don't build runtimes #25

polkadot-sdk: don't build runtimes

polkadot-sdk: don't build runtimes #25

Workflow file for this run

name: "Build and publish to Cachix and FlakeHub ❄️"
on:
push:
branches:
- master
workflow_run:
workflows: ["Update flake.lock ❄️"]
types:
- completed
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Free disk space
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
with:
tool-cache: true
swap-storage: false
- name: Checkout repository
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v30
- name: Setup cachix
uses: cachix/cachix-action@v15
with:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
name: polkadot
- name: Nix flake check
run: nix flake check -L --max-jobs 1
- name: Nix flake develop
run: nix develop
- name: Publish to FlakeHub
uses: DeterminateSystems/flakehub-push@v5
with:
name: "andresilva/polkadot.nix"
rolling: true
visibility: public