Skip to content
grid

GitHub Action

QR Code Generator

v1.2.0 Latest version

QR Code Generator

grid

QR Code Generator

QR Code Generator

Installation

Copy and paste the following snippet into your .yml file.

              

- name: QR Code Generator

uses: snow-actions/[email protected]

Learn more about this action in snow-actions/qrcode

Choose a version

QR Code Generator

Test

This action generates a QR Code file.
You can use the generated QR Code anywhere - upload to slack, commit to git, etc.

Usage

uses: snow-actions/[email protected]
with:
  text: 'https://github.com/snow-actions/qrcode'
  path: 'qrcode.png'

Example

name: QRCode
on:
  push:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4
      with:
        ref: qrcode
    - uses: snow-actions/[email protected]
      with:
        text: https://github.com/snow-actions/qrcode
        path: qrcode.png
    - uses: snow-actions/[email protected]
    - name: You can commit it.
      run: |
        git add qrcode.png
        git commit -m "QR Code"
        git push origin qrcode
    - name: You can upload it to artifact.
      uses: actions/upload-artifact@v1
      with:
        name: qrcode
        path: qrcode.png