1 Commits

Author SHA1 Message Date
c5e2854f27 WIP
All checks were successful
run tests / check (push) Successful in 25s
run tests / release (push) Successful in 15s
2025-12-09 10:05:35 +01:00
5 changed files with 12 additions and 12 deletions

View File

@@ -46,7 +46,7 @@ runs:
steps:
- name: add artefact
run: |
nix run ${{ github.action_path }} -- \
nix run . -- \
add-artefact \
--state "${RELEASE_ACTION_STATEFILE}" \
--artefact-type "${{ inputs.type }}" \

View File

@@ -38,7 +38,7 @@ runs:
steps:
- name: add deployment
run: |
nix run ${{ github.action_path }} -- \
nix run . -- \
add-deployment \
--state "${RELEASE_ACTION_STATEFILE}" \
--deployment-type "${{ inputs.type }}" \

View File

@@ -118,7 +118,7 @@ runs:
IS_PRE_RELEASE="1"
fi
nix run ${{ github.action_path }} -- \
nix run . -- \
declare \
--state "${RELEASE_ACTION_STATEFILE}" \
--release-yaml-filename "${{ inputs.filename }}" \
@@ -129,7 +129,7 @@ runs:
--release-commit-sha "${{ github.sha }}" \
--is-pre-release "${IS_PRE_RELEASE}"
nix run ${{ github.action_path }} -- \
nix run . -- \
dump \
--state "${RELEASE_ACTION_STATEFILE}" \
--write-env-vars-to-filename "$GITHUB_ENV"
@@ -143,7 +143,7 @@ runs:
IS_PRE_RELEASE="1"
fi
nix run ${{ github.action_path }} -- \
nix run . -- \
declare \
--state "${RELEASE_ACTION_STATEFILE}" \
--version-descriptor "${{ inputs.version_descriptor }}" \
@@ -155,7 +155,7 @@ runs:
--is-pre-release "${IS_PRE_RELEASE}" \
if [[ ! -z "${{ inputs.artefact_type }}" ]]; then
nix run ${{ github.action_path }} -- \
nix run . -- \
add-artefact \
--state "${RELEASE_ACTION_STATEFILE}" \
--artefact-type "${{ inputs.artefact_type }}" \
@@ -169,7 +169,7 @@ runs:
fi
if [[ ! -z "${{ inputs.deployment_type }}" ]]; then
nix run ${{ github.action_path }} -- \
nix run . -- \
add-deployment \
--state "${RELEASE_ACTION_STATEFILE}" \
--deployment-type "${{ inputs.deployment_type }}" \
@@ -180,7 +180,7 @@ runs:
--deployment-repository "${{ inputs.deployment_repository }}"
fi
nix run ${{ github.action_path }} -- \
nix run . -- \
dump \
--state "${RELEASE_ACTION_STATEFILE}" \
--write-env-vars-to-filename "$GITHUB_ENV"

View File

@@ -6,6 +6,6 @@ runs:
steps:
- name: dump project description
run: |
nix run ${{ github.action_path }} -- \
nix run . -- \
dump \
--state "${RELEASE_ACTION_STATEFILE}"

View File

@@ -12,21 +12,21 @@ runs:
steps:
- name: publish artefacts
run: |
nix run ${{ github.action_path }} -- \
nix run . -- \
publish-artefacts \
--state "${RELEASE_ACTION_STATEFILE}" \
--dry-run "${{ inputs.dry_run }}"
- name: update deployments
run: |
nix run ${{ github.action_path }} -- \
nix run . -- \
update-deployments \
--state "${RELEASE_ACTION_STATEFILE}" \
--dry-run "${{ inputs.dry_run }}"
- name: create release
run: |
nix run ${{ github.action_path }} -- \
nix run . -- \
create-release \
--state "${RELEASE_ACTION_STATEFILE}" \
--dry-run "${{ inputs.dry_run }}"