started adding functions to get memory information #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Archive Repository | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Archive Repository | |
run: | | |
mkdir temp | |
# Copy all files and directories except 'temp' | |
shopt -s extglob | |
cp -R !(temp) temp/ | |
tar -czf repo-archive.tar.gz temp | |
- name: Upload Archive as Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: repo-archive | |
path: repo-archive.tar.gz |