File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : Current
4+
5+ # Controls when the workflow will run
6+ on :
7+ schedule :
8+ - cron : ' 0 22 * * 6'
9+ # Allows you to run this workflow manually from the Actions tab
10+ workflow_dispatch :
11+
12+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
13+ jobs :
14+ # This workflow contains a single job called "build"
15+ build :
16+ # The type of runner that the job will run on
17+ runs-on : ubuntu-latest
18+
19+ # Steps represent a sequence of tasks that will be executed as part of the job
20+ steps :
21+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22+ - uses : actions/checkout@v3
23+ - name : Install Nix
24+ uses : DeterminateSystems/nix-installer-action@v4
25+ - name : Setup Attic cache
26+ uses : ryanccn/attic-action@v0
27+ with :
28+ endpoint : ${{ secrets.ATTIC_ENDPOINT }}
29+ cache : ${{ secrets.ATTIC_CACHE }}
30+ token : ${{ secrets.ATTIC_TOKEN }}
31+ - name : Build Nix Package nixos-unstable
32+ run : nix build --override-input nixpkgs github:nixos/nixpkgs/nixos-unstable --show-trace
Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : Locked
4+
5+ # Controls when the workflow will run
6+ on :
7+ # Triggers the workflow on push or pull request events but only for the "master" branch
8+ push :
9+ branches : ' *'
10+ pull_request :
11+ branches : ' *'
12+
13+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+ jobs :
15+ # This workflow contains a single job called "build"
16+ build :
17+ # The type of runner that the job will run on
18+ runs-on : ubuntu-latest
19+
20+ # Steps represent a sequence of tasks that will be executed as part of the job
21+ steps :
22+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23+ - uses : actions/checkout@v3
24+ - name : Install Nix
25+ uses : DeterminateSystems/nix-installer-action@v4
26+ - name : Setup Attic cache
27+ uses : ryanccn/attic-action@v0
28+ with :
29+ endpoint : ${{ secrets.ATTIC_ENDPOINT }}
30+ cache : ${{ secrets.ATTIC_CACHE }}
31+ token : ${{ secrets.ATTIC_TOKEN }}
32+ - name : Build Nix Package
33+ run : nix build -j 10 --show-trace
You can’t perform that action at this time.
0 commit comments