Skip to content

Commit f7af33b

Browse files
committed
Allow to specify a ref to checkout
1 parent 1e4073e commit f7af33b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/publish-swift-package.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ on:
33
workflow_dispatch:
44
inputs:
55
version:
6-
description: 'nostr-sdk repo release (MAJOR.MINOR.PATCH)'
6+
description: 'Release (MAJOR.MINOR.PATCH)'
77
required: true
88
type: string
9+
ref:
10+
description: 'Ref (branch, tag, commit) to checkout (from rust-nostr/nostr repo)'
11+
required: true
12+
type: string
13+
default: 'master'
914

1015
jobs:
1116
build-tag-release:
@@ -19,7 +24,7 @@ jobs:
1924
with:
2025
repository: ${{ github.repository_owner }}/nostr
2126
path: build
22-
# ref: v${{ inputs.version }}
27+
ref: ${{ inputs.ref }}
2328

2429
- name: Checkout nostr-sdk-swift repo
2530
uses: actions/checkout@v3

0 commit comments

Comments
 (0)