Skip to content

Commit

Permalink
use data platfrom workflow for build
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Jul 15, 2024
1 parent 332cae6 commit 8d6fce3
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,5 @@ on:

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@v4
- 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: mongodb-rock
path: charmed-mongodb_*_amd64.rock
name: Build rock
uses: canonical/data-platform-workflows/.github/workflows/build_rock.yaml@v16

0 comments on commit 8d6fce3

Please sign in to comment.