Update repo
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Upload Artifacts
|
name: Upload Artifact
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -14,12 +14,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ls -la ${{ github.workspace }}
|
ls -la ${{ github.workspace }}
|
||||||
cd backend
|
cd backend
|
||||||
echo "This is my artifact content." > artifacts.txt
|
echo "This is my artifact content." > artifact.txt
|
||||||
ls -la ${{ github.workspace }}/backend
|
ls -la ${{ github.workspace }}/backend
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build-artifact # Folder name of artifact.txt
|
name: build-artifact # Folder name of artifact.txt
|
||||||
path: artifacts.txt
|
path: ${{ github.workspace }}/backend/artifact.txt
|
||||||
retention-days: 5 # Optional: Set the retention period for the artifact
|
retention-days: 5 # Optional: Set the retention period for the artifact
|
||||||
Reference in New Issue
Block a user