[DPE-1086] Add dependencies for postgis and pltcl plugins #48
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: Build ROCK | |
on: | |
pull_request: | |
workflow_call: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup LXD | |
uses: canonical/setup-lxd@main | |
- name: Install dependencies | |
run: | | |
sudo snap install yq | |
sudo snap install rockcraft --classic --edge | |
- name: Build ROCK | |
run: rockcraft pack | |
- name: Upload locally built ROCK artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: postgresql-rock | |
path: charmed-postgresql_*_amd64.rock |