File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 15
15
16
16
- name : Set Git Config
17
17
run : |
18
- git config --global user.email "$"
19
- git config --global user.name "$"
18
+ git config --global user.email "${{ secrets.USER_EMAIL }} "
19
+ git config --global user.name "${{ secrets.USER_NAME }} "
20
20
shell : bash
21
21
22
22
- name : Check for Existing Tags and Create
@@ -48,14 +48,14 @@ jobs:
48
48
echo "::set-output name=new_tag::${new_tag_version}"
49
49
fi
50
50
env :
51
- GITHUB_TOKEN : $
51
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52
52
53
53
- name : Create Release
54
54
uses : actions/create-release@v1
55
55
env :
56
- GITHUB_TOKEN : $
56
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57
57
with :
58
- tag_name : $
59
- release_name : Release $
58
+ tag_name : ${{ steps.check_tags.outputs.new_tag }}
59
+ release_name : Release ${{ steps.check_tags.outputs.new_tag }}
60
60
body : |
61
- Get the Release Details__
61
+ Get the Release Details__
Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ jobs:
13
13
14
14
- name : Exit if the branch is not main
15
15
run : |
16
- if [[ "$" != "refs/heads/main" ]]; then
16
+ if [[ "${{ github.ref }} " != "refs/heads/main" ]]; then
17
17
echo "Branch is not main, exiting."
18
18
exit 1
19
19
fi
20
20
21
21
- name : Set Git Config
22
22
run : |
23
- git config --global user.email "$"
24
- git config --global user.name "$"
23
+ git config --global user.email "${{ secrets.USER_EMAIL }} "
24
+ git config --global user.name "${{ secrets.USER_NAME }} "
25
25
shell : bash
26
26
27
27
- name : Check for Existing Tags and Create
@@ -54,14 +54,14 @@ jobs:
54
54
echo "::set-output name=new_tag::${new_tag_version}"
55
55
fi
56
56
env :
57
- GITHUB_TOKEN : $
57
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
58
59
59
- name : Create Release
60
60
uses : actions/create-release@v1
61
61
env :
62
- GITHUB_TOKEN : $
62
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
63
63
with :
64
- tag_name : $
65
- release_name : Release $
64
+ tag_name : ${{ steps.check_tags.outputs.new_tag }}
65
+ release_name : Release ${{ steps.check_tags.outputs.new_tag }}
66
66
body : |
67
- Get the Release Details__
67
+ Get the Release Details__
You can’t perform that action at this time.
0 commit comments