too large?

This commit is contained in:
plasmagoat 2025-06-08 13:43:17 +02:00
parent 3ee730c44d
commit 98a30f1c84

View file

@ -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: |