readded artifacts
This commit is contained in:
parent
534353823b
commit
c8fdf12185
1 changed files with 14 additions and 1 deletions
|
|
@ -103,12 +103,25 @@ jobs:
|
|||
proxmox_user={{ env.PROXMOX_USER }}
|
||||
remote_image_path_ci={{ steps.build_image.outputs.image_path_from_build }}
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
if: ${{ steps.build.outputs.image }}
|
||||
with:
|
||||
name: nixos-base-image
|
||||
path: result
|
||||
|
||||
release:
|
||||
name: Release Image
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
if: success()
|
||||
steps:
|
||||
- name: Download Artifact
|
||||
id: artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: nixos-base-image
|
||||
|
||||
- name: Set VERSION from tag or fallback
|
||||
id: version
|
||||
run: |
|
||||
|
|
@ -129,4 +142,4 @@ jobs:
|
|||
This release contains the NixOS base image for Proxmox labeled `${{ steps.version.outputs.tag }}`.
|
||||
|
||||
Image uploaded as template on proxmox filename: `${{ needs.build.steps.build_image.outputs.image_path_from_build }}`.
|
||||
release-dir: result/nix-support
|
||||
release-dir: "${{ steps.artifact.outputs.download-path }}/nix-support"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue