-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if diff
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,21 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Clear destination directory | ||
run: rm -rf ./uncompressed/* | ||
|
||
- name: Extract files from QGZ | ||
run: 7z x geo2france.qgz -o./uncompressed | ||
- name: Commit changes | ||
|
||
- name: Configure Git | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add ./uncompressed | ||
git commit -m "Decompress file" | ||
git push | ||
- name: Check for changes | ||
run: | | ||
git diff --exit-code || git commit -am "Decompress file" | ||
- name: Push changes | ||
run: git push |