Compare commits
1 Commits
v0.0.1-dev
...
v0.0.1-dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 92ac69a4cc |
@@ -4,6 +4,23 @@ description: "dump current project description"
|
|||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
|
- name: declare project if neccessary
|
||||||
|
run: |
|
||||||
|
if [[ ! -z "${RELEASE_PROJECT_CURRENT_VERSION}" ]]; then
|
||||||
|
echo "already set up."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
nix run ${{ github.action_path }} -- \
|
||||||
|
declare \
|
||||||
|
--release-yaml-filename ".gitea/release.yaml" \
|
||||||
|
--gitea-instance "https://gitea.puzzleyou.net" \
|
||||||
|
--release-repository-name "${{ github.repository }}" \
|
||||||
|
--release-ref-name "${{ github.ref_name }}" \
|
||||||
|
--release-run-number "${{ github.run_number }}" \
|
||||||
|
--release-commit-sha "${{ github.sha }}" \
|
||||||
|
--write-env-vars-to-filename "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: dump project description
|
- name: dump project description
|
||||||
run: |
|
run: |
|
||||||
nix run ${{ github.action_path }} -- \
|
nix run ${{ github.action_path }} -- \
|
||||||
|
|||||||
@@ -6,6 +6,23 @@ inputs: {}
|
|||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
|
- name: declare project if neccessary
|
||||||
|
run: |
|
||||||
|
if [[ ! -z "${RELEASE_PROJECT_CURRENT_VERSION}" ]]; then
|
||||||
|
echo "already set up."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
nix run ${{ github.action_path }} -- \
|
||||||
|
declare \
|
||||||
|
--release-yaml-filename ".gitea/release.yaml" \
|
||||||
|
--gitea-instance "https://gitea.puzzleyou.net" \
|
||||||
|
--release-repository-name "${{ github.repository }}" \
|
||||||
|
--release-ref-name "${{ github.ref_name }}" \
|
||||||
|
--release-run-number "${{ github.run_number }}" \
|
||||||
|
--release-commit-sha "${{ github.sha }}" \
|
||||||
|
--write-env-vars-to-filename "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: sync versions
|
- name: sync versions
|
||||||
run: |
|
run: |
|
||||||
nix run ${{ github.action_path }} -- \
|
nix run ${{ github.action_path }} -- \
|
||||||
|
|||||||
Reference in New Issue
Block a user