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
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
if: ${{ steps.build.outputs.image }}
|
||||
with:
|
||||
name: nixos-base-image
|
||||
path: ${{ steps.build.outputs.image }}
|
||||
|
|
@ -80,8 +82,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
if: success()
|
||||
steps:
|
||||
- name: Download Artifact
|
||||
id: artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: nixos-base-image
|
||||
|
||||
- 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:
|
||||
title: "NixOS Base Image ${{ steps.version.outputs.tag }}"
|
||||
tag: ${{ steps.version.outputs.tag }}
|
||||
|
|
@ -89,6 +97,4 @@ jobs:
|
|||
direction: upload
|
||||
release-notes: |
|
||||
This release contains the NixOS base image for Proxmox labeled `${{ steps.version.outputs.tag }}`.
|
||||
|
||||
Image filename: ${{ steps.build.outputs.image }}
|
||||
release-dir: ./results
|
||||
release-dir: ${{ steps.artifact.outputs.download-path }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue