Skip to content

Update main.yml

Update main.yml #2

Workflow file for this run

name: Extract ZIP File
on:
push:
branches:
- main # Or your branch name
jobs:
extract:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Extract ZIP File
run: unzip onlinevotingsystem.zip -d extracted_folder
- name: Commit Extracted Files
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
git add extracted_folder/
git commit -m "Extracted ZIP contents"
git push