Skip to content

Commit 3e83a4b

Browse files
authored
Update create_airac_release.yml to exclude certain files
Exclude .git, .github, and output directories from the ZIP of the entire repo.
1 parent 11351a4 commit 3e83a4b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/create_airac_release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ jobs:
3232

3333
- name: Create ZIP of entire repo
3434
run: |
35-
zip -r "output/VATNZ-SKYLINE_${CYCLE}.zip" .
35+
zip -r "output/VATNZ-SKYLINE_${CYCLE}.zip" . \
36+
-x ".git/*" \
37+
-x ".github/*" \
38+
-x "output/*"
3639
shell: bash
3740

3841
- name: Create Release with Assets
@@ -48,3 +51,4 @@ jobs:
4851
output/VATNZ-SKYLINE_${{ env.CYCLE }}.zip
4952
env:
5053
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+

0 commit comments

Comments
 (0)