33 lines
884 B
YAML
33 lines
884 B
YAML
name: "release project"
|
|
description: "publish artifacte, update deployments and create gitea release"
|
|
|
|
inputs:
|
|
dry_run:
|
|
required: false
|
|
description: "do not change external state"
|
|
default: false
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: publish artefacts
|
|
run: |
|
|
nix run ${{ github.action_path }} -- \
|
|
publish-artefacts \
|
|
--state "${RELEASE_ACTION_STATEFILE}" \
|
|
--dry-run "${{ inputs.dry_run }}"
|
|
|
|
- name: update deployments
|
|
run: |
|
|
nix run ${{ github.action_path }} -- \
|
|
update-deployments \
|
|
--state "${RELEASE_ACTION_STATEFILE}" \
|
|
--dry-run "${{ inputs.dry_run }}"
|
|
|
|
- name: create release
|
|
run: |
|
|
nix run ${{ github.action_path }} -- \
|
|
create-release \
|
|
--state "${RELEASE_ACTION_STATEFILE}" \
|
|
--dry-run "${{ inputs.dry_run }}"
|