File tree 1 file changed +6
-8
lines changed
1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -56,22 +56,20 @@ jobs:
56
56
runs-on : ubuntu-latest
57
57
env :
58
58
GH_TOKEN : ${{ github.token }}
59
- PAT : ${{ secrets.PAT_WORKSPACE_REPO }}
59
+ WORKSPACE_REPO : https://${{ secrets.PAT_WORKSPACE_REPO }}@github.com/bndtools/bnd.git
60
+ V1 : ${{ github.event.inputs.V1 }}
60
61
61
62
steps :
62
- - name : Git Checkout
63
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
64
- with :
65
- repository : bndtools/workspace
66
- ref : master
67
63
- name : create branch for templates
68
64
run : |
69
- export v=`echo ${{ github.event.inputs.V1 }} | awk -F. '{print $1"."$2}'`
65
+ export v=`echo $V1 | awk -F. '{print $1"."$2}'`
70
66
echo $v
71
67
git config user.name github-actions
72
68
git config user.email [email protected]
69
+ git clone $WORKSPACE_REPO
73
70
git checkout -B $v
74
- git push https://${{ secrets.PAT_WORKSPACE_REPO }}@github.com/bndtools/bnd.git --force
71
+ git push --force $WORKSPACE_REPO $v
72
+
75
73
76
74
finalize-master :
77
75
needs : [release-doc-generate, create-workspace-template]
You can’t perform that action at this time.
0 commit comments