Skip to content

formatting changes... #20

formatting changes...

formatting changes... #20

Workflow file for this run

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