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