changed release pipeline to make use of nix
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 1m43s
Details
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 1m43s
Details
This commit is contained in:
parent
dabe0a2ef5
commit
1548bf8c5b
|
@ -3,21 +3,24 @@ name: release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- 'v*.*.*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Install dependencies for Nix setup action
|
||||||
|
run: |
|
||||||
|
apt update -y
|
||||||
|
apt install sudo -y
|
||||||
|
- name: Setup Nix
|
||||||
|
uses: cachix/install-nix-action@v27
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
- name: Install Typst CLI
|
|
||||||
run: curl -fsSL https://typst.community/typst-install/install.sh | sh -s "$TYPST_VERSION"
|
|
||||||
- name: Set up Python 3
|
|
||||||
run: apt update -y && apt install python3-pip -y
|
|
||||||
- name: Run CI
|
- name: Run CI
|
||||||
run: bash -c ./run-ci.sh
|
run: nix-shell --run ./run-ci.sh
|
||||||
- name: Setup go
|
- name: Setup go
|
||||||
uses: https://github.com/actions/setup-go@v4
|
uses: https://github.com/actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue