feat: added artifacts to build action
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user