too large?
This commit is contained in:
parent
3ee730c44d
commit
98a30f1c84
1 changed files with 11 additions and 10 deletions
|
|
@ -24,15 +24,6 @@ jobs:
|
|||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set VERSION from tag or fallback
|
||||
id: version
|
||||
run: |
|
||||
if [ -n "${CI_COMMIT_TAG}" ]; then
|
||||
echo "tag=${CI_COMMIT_TAG}" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "tag=dev-$(date +%s)" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Enable experimental features
|
||||
run: |
|
||||
mkdir -p ~/.config/nix
|
||||
|
|
@ -88,15 +79,25 @@ jobs:
|
|||
with:
|
||||
name: nixos-base-image
|
||||
|
||||
- name: Set VERSION from tag or fallback
|
||||
id: version
|
||||
run: |
|
||||
if [ -n "${CI_COMMIT_TAG}" ]; then
|
||||
echo "tag=${CI_COMMIT_TAG}" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "tag=dev-$(date +%s)" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Create Forgejo Release
|
||||
uses: https://code.forgejo.org/sheik/forgejo-release@v2.6.0
|
||||
with:
|
||||
title: "NixOS Base Image ${{ steps.version.outputs.tag }}"
|
||||
prerelease: ${{ github.ref_type == 'tag' }}
|
||||
tag: ${{ steps.version.outputs.tag }}
|
||||
direction: upload
|
||||
release-notes: |
|
||||
This release contains the NixOS base image for Proxmox labeled `${{ steps.version.outputs.tag }}`.
|
||||
# release-dir: ${{ steps.artifact.outputs.download-path }}
|
||||
release-dir: "${{ steps.artifact.outputs.download-path }}/nix-support"
|
||||
|
||||
- name: Upload image to Proxmox and manage templates
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue