Skip to content

Update main.yml

Update main.yml #7

Workflow file for this run

on: push
jobs:
unzip:
runs-on: ubuntu-latest
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: Configure Git
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
- name: Add changes to the index
run: git add ./uncompressed
- name: Check for changes
run: |
git diff --exit-code || git commit -am "Decompress QGZ"
- name: Push changes
run: git push