Skip to content

Commit

Permalink
build: fix github wf to generate metadata bundle (dapr#3435)
Browse files Browse the repository at this point in the history
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Bernd Verst <github@bernd.dev>
Co-authored-by: Bernd Verst <github@bernd.dev>
  • Loading branch information
sicoyle and berndverst committed Jun 6, 2024
1 parent f23794f commit 787b23d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/generate-component-metadata-for-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
upload-bundle:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: 'false'
- name: Checkout code
uses: actions/checkout@v4
- name: Build component-metadata-bundle.json
run: make bundle-component-metadata
- name: Upload component-metadata-bundle.json
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: component-metadata-bundle.json
files: component-metadata-bundle.json
3 changes: 2 additions & 1 deletion common/component/azure/servicebus/message_pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ package servicebus

import (
"encoding/base64"
"github.com/spf13/cast"
"net/http"
"strconv"

"github.com/spf13/cast"

azservicebus "github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus"
"github.com/google/uuid"

Expand Down

0 comments on commit 787b23d

Please sign in to comment.