parent
f9dc124572
commit
8542764f55
22
.forgejo/workflows/build.yaml
Normal file
22
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Set up dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get -y install sudo
|
||||
- name: Install Nix
|
||||
uses: https://github.com/cachix/install-nix-action@v27
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: nix build -L
|
||||
- name: Archive
|
||||
run: tar --zstd --transform 's/^result/password-hash-self-service/' -cvf password-hash-self-service.tar.zstd result/*
|
||||
- name: Upload
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: password-hash-self-service.tar.zstd
|
||||
path: password-hash-self-service.tar.zstd
|
BIN
password-hash-self-service.tar.zstd
Normal file
BIN
password-hash-self-service.tar.zstd
Normal file
Binary file not shown.
Loading…
Reference in a new issue