From 5891fe3dadc97f6c7463035323ef212217d29f1b Mon Sep 17 00:00:00 2001 From: Mia Altieri Date: Fri, 19 Jul 2024 16:31:34 +0000 Subject: [PATCH] fix build + release --- .github/workflows/publish.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 51b4bcf..951717c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -11,6 +11,7 @@ on: jobs: publish: + needs: build name: publish runs-on: ubuntu-latest timeout-minutes: 15 @@ -32,11 +33,9 @@ jobs: # yq sudo snap install yq - - name: Download rock file - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v3 with: - name: charmed_mongodb_rock_amd64 - path: . + name: mongodb-rock - name: Login to GitHub Container Registry uses: docker/login-action@v2 @@ -48,7 +47,7 @@ jobs: - name: Publish rock to Store run: | version="$(cat rockcraft.yaml | yq .version)" - + version="${version%-*}" base="$(cat rockcraft.yaml | yq .base)" base="${base#*:}"