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: steps:
- name: add artefact - name: add artefact
run: | run: |
nix run ${{ github.action_path }} -- \ nix run . -- \
add-artefact \ add-artefact \
--state "${RELEASE_ACTION_STATEFILE}" \ --state "${RELEASE_ACTION_STATEFILE}" \
--artefact-type "${{ inputs.type }}" \ --artefact-type "${{ inputs.type }}" \

View File

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

View File

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

View File

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

View File

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