From d51ba0850a122f9dd1dd92c421e015594ebaf33c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Fri, 10 Jan 2025 14:26:43 +0100 Subject: [PATCH] ci: init release-on-demand workflow --- .github/workflows/release-on-demand.yml | 42 +++++++++++++++++++++++++ flake.lock | 6 ++-- 2 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/release-on-demand.yml diff --git a/.github/workflows/release-on-demand.yml b/.github/workflows/release-on-demand.yml new file mode 100644 index 00000000..d7e8073e --- /dev/null +++ b/.github/workflows/release-on-demand.yml @@ -0,0 +1,42 @@ +name: Release on demand + +on: + workflow_dispatch: + inputs: + os: + description: Operating system + type: choice + required: true + default: ubuntu-latest + options: + - ubuntu-latest + - macos-13 + - macos-14 + - windows-latest + target: + description: Architecture + type: choice + required: true + options: + - aarch64-darwin + - aarch64-linux + - armv6l-linux + - armv7l-linux + - i686-linux + - i686-windows + - x86_64-darwin + - x86_64-windows + features: + description: Cargo features + type: string + required: true + +jobs: + release-on-demand: + uses: pimalaya/nix/.github/workflows/release-on-demand.yml@master + secrets: inherit + with: + project: himalaya + os: ${{ inputs.os }} + target: ${{ inputs.target }} + features: ${{ inputs.features }} diff --git a/flake.lock b/flake.lock index 6bfd3b38..c496006e 100644 --- a/flake.lock +++ b/flake.lock @@ -40,11 +40,11 @@ "pimalaya": { "flake": false, "locked": { - "lastModified": 1736487461, - "narHash": "sha256-jzAueNk6n9u4i6Orht3MNziQxxmILbyqfVVhunasBqs=", + "lastModified": 1736515543, + "narHash": "sha256-z+mNoKmGBj/wKCEmSDAp+91Lppw38+Rx4HdGV3UAxAk=", "owner": "pimalaya", "repo": "nix", - "rev": "a2cc07d85dd67f8d25a21b709399eb75cb16f68b", + "rev": "e8246aa53c1fb4f1e5c7d5bdb1ca4426c5e1c3bc", "type": "github" }, "original": {