Skip to content

Commit

Permalink
fix build + release
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Jul 19, 2024
1 parent 9c0a1a3 commit 5891fe3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

jobs:
publish:
needs: build
name: publish
runs-on: ubuntu-latest
timeout-minutes: 15
Expand All @@ -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
Expand All @@ -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#*:}"
Expand Down

0 comments on commit 5891fe3

Please sign in to comment.