Skip to content

Commit

Permalink
changes in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkrock04 committed Dec 2, 2024
1 parent a5e621f commit 5bac1e3
Showing 1 changed file with 27 additions and 12 deletions.
39 changes: 27 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,32 @@
name: Super-Linter
name: QR Code Generator CI

on: push
on: [push, pull_request]

jobs:
super-lint:
name: Lint code base
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run Super-Linter
uses: github/super-linter@v4
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install qrcode pillow
- name: Run QR code generator
run: |
python QR.py << EOF
test
EOF
- name: Upload QR code artifact
uses: actions/upload-artifact@v2
with:
name: qr-code
path: QRcode.png

0 comments on commit 5bac1e3

Please sign in to comment.