Build and Deploy OCI Image of gutenprint-printer-app Using Rockcraft … #2
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
name: CI Pipeline for gutenprint-printer-app | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
branches: | |
- main | |
- master | |
workflow_dispatch: | |
jobs: | |
build-rock: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Pack with Rockcraft | |
uses: canonical/craft-actions/rockcraft-pack@main | |
id: rockcraft | |
build-snap: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build Snap Package | |
uses: snapcore/action-build@v1 | |
id: snapcraft |