download
This commit is contained in:
parent
2ed387bdd5
commit
eb6a9ecab3
1 changed files with 11 additions and 5 deletions
|
|
@ -70,7 +70,9 @@ jobs:
|
||||||
|
|
||||||
echo "image=$(ls result/*.vma.zst | head -n 1)" >> $GITHUB_OUTPUT
|
echo "image=$(ls result/*.vma.zst | head -n 1)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- name: Upload Artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
if: ${{ steps.build.outputs.image }}
|
||||||
with:
|
with:
|
||||||
name: nixos-base-image
|
name: nixos-base-image
|
||||||
path: ${{ steps.build.outputs.image }}
|
path: ${{ steps.build.outputs.image }}
|
||||||
|
|
@ -80,8 +82,14 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: success()
|
if: success()
|
||||||
steps:
|
steps:
|
||||||
|
- name: Download Artifact
|
||||||
|
id: artifact
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: nixos-base-image
|
||||||
|
|
||||||
- name: Create Forgejo Release
|
- name: Create Forgejo Release
|
||||||
uses: https://code.forgejo.org/sheik/forgejo-release/src/branch/feat/universal_tea_bin@v2.6.0
|
uses: https://code.forgejo.org/sheik/forgejo-release@v2.6.0
|
||||||
with:
|
with:
|
||||||
title: "NixOS Base Image ${{ steps.version.outputs.tag }}"
|
title: "NixOS Base Image ${{ steps.version.outputs.tag }}"
|
||||||
tag: ${{ steps.version.outputs.tag }}
|
tag: ${{ steps.version.outputs.tag }}
|
||||||
|
|
@ -89,6 +97,4 @@ jobs:
|
||||||
direction: upload
|
direction: upload
|
||||||
release-notes: |
|
release-notes: |
|
||||||
This release contains the NixOS base image for Proxmox labeled `${{ steps.version.outputs.tag }}`.
|
This release contains the NixOS base image for Proxmox labeled `${{ steps.version.outputs.tag }}`.
|
||||||
|
release-dir: ${{ steps.artifact.outputs.download-path }}
|
||||||
Image filename: ${{ steps.build.outputs.image }}
|
|
||||||
release-dir: ./results
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue