Skip to content

Commit

Permalink
storing artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
LinceMathew committed Aug 7, 2023
1 parent 5989625 commit bbc4e04
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,15 @@ jobs:
- name: Build and run Docker image
run: |
docker build -t one_installer:latest .
docker run one_installer:latest
docker run -d --name ansika one_installer:latest
- name: Copy file from Docker container
run: |
docker cp ansika:/code/executor.bin /tmp/executor.bin
- name: Store artifact
uses: actions/upload-artifact@v2
with:
name: executor.bin
path: /tmp/executor.bin

- run: echo "🍏 This job's status is ${{ job.status }}."

0 comments on commit bbc4e04

Please sign in to comment.