-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (33 loc) · 919 Bytes
/
release-sce-linux.yml
File metadata and controls
39 lines (33 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Release sce CLI (Linux)
on:
workflow_call:
inputs:
release_ref:
required: true
type: string
release_version:
required: true
type: string
permissions:
contents: read
jobs:
build-linux-artifacts:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
with:
ref: ${{ inputs.release_ref }}
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v22
- name: Build canonical Linux CLI release artifacts
run: |
nix run .#release-artifacts -- \
--version "${{ inputs.release_version }}" \
--out-dir dist
- name: Upload Linux CLI release artifacts
uses: actions/upload-artifact@v7
with:
name: sce-release-x86_64-unknown-linux-gnu
path: dist/
if-no-files-found: error