feat: added artifacts to build action
Some checks failed
Gitea Actions Demo / Build (push) Failing after 1m12s
Gitea Actions Demo / Upload (push) Has been skipped

This commit is contained in:
2025-09-25 13:14:36 +02:00
parent 7b695d94f7
commit 716a9e6470

View File

@@ -23,6 +23,23 @@ jobs:
npm ci
- name: Build
run: npm run build
- name: Save Build Artifact
uses: actions/upload-artifact@v4
with:
name: build-artifact
path: ${{ gitea.workspace }}/build/*
Upload:
runs-on: ubuntu-latest
needs: Build
steps:
- name: Download artifact
uses: actions/download-artifact@v5
with:
name: build-artifact
path: ${{ gitea.workspace }}/build
- name: Display structure of downloaded files
run: ls -R
- name: setup ssh
run: |
mkdir -p ~/.ssh/