File tree 5 files changed +37
-17
lines changed
5 files changed +37
-17
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,14 @@ inputs:
11
11
steps_to_skip :
12
12
description : " Comma separated list of steps to skip"
13
13
required : false
14
+ shell :
15
+ description : " The shell being used for the action steps"
16
+ required : false
17
+ default : bash -eux {0}
14
18
runs :
15
19
using : " composite"
16
20
steps :
17
- - shell : bash -eux {0 }
21
+ - shell : ${{ inputs.shell } }
18
22
id : install-releaser
19
23
run : |
20
24
# Install Jupyter Releaser from git unless we are testing Releaser itself
24
28
fi
25
29
26
30
- id : prep-release
27
- shell : bash -eux {0 }
31
+ shell : ${{ inputs.shell } }
28
32
run : |
29
33
export RH_DRY_RUN="true"
30
34
export GITHUB_ACCESS_TOKEN=${{ inputs.token }}
33
37
python -m jupyter_releaser.actions.prep_release
34
38
35
39
- id : populate-release
36
- shell : bash -eux {0 }
40
+ shell : ${{ inputs.shell } }
37
41
run : |
38
42
export RH_DRY_RUN="true"
39
43
export GITHUB_ACCESS_TOKEN=${{ inputs.token }}
43
47
python -m jupyter_releaser.actions.populate_release
44
48
45
49
- id : finalize-release
46
- shell : bash -eux {0 }
50
+ shell : ${{ inputs.shell } }
47
51
run : |
48
52
export RH_DRY_RUN="true"
49
53
export GITHUB_ACCESS_TOKEN=${{ inputs.token }}
Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ inputs:
20
20
steps_to_skip :
21
21
description : " Comma separated list of steps to skip"
22
22
required : false
23
+ shell :
24
+ description : " The shell being used for the action steps"
25
+ required : false
26
+ default : bash -eux {0}
23
27
24
28
outputs :
25
29
release_url :
33
37
using : " composite"
34
38
steps :
35
39
- name : install-releaser
36
- shell : bash -eux {0 }
40
+ shell : ${{ inputs.shell } }
37
41
run : |
38
42
# Install Jupyter Releaser from git unless we are testing Releaser itself
39
43
if ! command -v jupyter-releaser &> /dev/null
42
46
fi
43
47
44
48
- id : finalize-release
45
- shell : bash -eux {0 }
49
+ shell : ${{ inputs.shell } }
46
50
run : |
47
51
export GITHUB_ACCESS_TOKEN=${{ inputs.token }}
48
52
export GITHUB_ACTOR=${{ github.triggering_actor }}
54
58
python -m jupyter_releaser.actions.finalize_release
55
59
56
60
- if : ${{ success() }}
57
- shell : bash -eux {0 }
61
+ shell : ${{ inputs.shell } }
58
62
run : |
59
63
echo "## Next Step" >> $GITHUB_STEP_SUMMARY
60
64
echo "Verify the final release" >> $GITHUB_STEP_SUMMARY
67
71
fi
68
72
69
73
- if : ${{ failure() }}
70
- shell : bash -eux {0 }
74
+ shell : ${{ inputs.shell } }
71
75
run : |
72
76
echo "## Failure Message" >> $GITHUB_STEP_SUMMARY
73
77
echo ":x: Failed to Publish the Draft Release Url:" >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ inputs:
20
20
steps_to_skip :
21
21
description : " Comma separated list of steps to skip"
22
22
required : false
23
+ shell :
24
+ description : " The shell being used for the action steps"
25
+ required : false
26
+ default : bash -eux {0}
23
27
24
28
outputs :
25
29
release_url :
30
34
using : " composite"
31
35
steps :
32
36
- name : install-releaser
33
- shell : bash -eux {0 }
37
+ shell : ${{ inputs.shell } }
34
38
run : |
35
39
# Install Jupyter Releaser from git unless we are testing Releaser itself
36
40
if ! command -v jupyter-releaser &> /dev/null
39
43
fi
40
44
41
45
- id : populate-release
42
- shell : bash -eux {0 }
46
+ shell : ${{ inputs.shell } }
43
47
run : |
44
48
export GITHUB_ACCESS_TOKEN=${{ inputs.token }}
45
49
export GITHUB_ACTOR=${{ github.triggering_actor }}
51
55
python -m jupyter_releaser.actions.populate_release
52
56
53
57
- if : ${{ failure() }}
54
- shell : bash -eux {0 }
58
+ shell : ${{ inputs.shell } }
55
59
run : |
56
60
echo "## Failure Message" >> $GITHUB_STEP_SUMMARY
57
61
echo ":x: Failed to Publish the Draft Release Url:" >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ inputs:
31
31
since_last_stable :
32
32
description : " Use PRs with activity since the last stable git tag"
33
33
required : false
34
+ shell :
35
+ description : " The shell being used for the action steps"
36
+ required : false
37
+ default : bash -eux {0}
34
38
outputs :
35
39
release_url :
36
40
description : " The html URL of the draft GitHub release"
39
43
using : " composite"
40
44
steps :
41
45
- name : install-releaser
42
- shell : bash -eux {0 }
46
+ shell : ${{ inputs.shell } }
43
47
run : |
44
48
# Install Jupyter Releaser from git unless we are testing Releaser itself
45
49
if ! command -v jupyter-releaser &> /dev/null
48
52
fi
49
53
50
54
- id : prep-release
51
- shell : bash -eux {0 }
55
+ shell : ${{ inputs.shell } }
52
56
run : |
53
57
export GITHUB_ACCESS_TOKEN=${{ inputs.token }}
54
58
export GITHUB_ACTOR=${{ github.triggering_actor }}
65
69
66
70
python -m jupyter_releaser.actions.prep_release
67
71
68
- - shell : bash -eux {0 }
72
+ - shell : ${{ inputs.shell } }
69
73
run : |
70
74
echo "## Next Step" >> $GITHUB_STEP_SUMMARY
71
75
echo "(Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}" >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ inputs:
14
14
description : " If set, do not make a PR"
15
15
default : " false"
16
16
required : false
17
+ shell :
18
+ description : " The shell being used for the action steps"
19
+ required : false
20
+ default : bash -eux {0}
17
21
outputs :
18
22
pr_url :
19
23
description : " The html URL of the draft GitHub release"
22
26
using : " composite"
23
27
steps :
24
28
- name : install-releaser
25
- shell : bash -eux {0 }
29
+ shell : ${{ inputs.shell } }
26
30
run : |
27
31
# Install Jupyter Releaser from git unless we are testing Releaser itself
28
32
if ! command -v jupyter-releaser &> /dev/null
31
35
fi
32
36
33
37
- id : publish-changelog
34
- shell : bash -eux {0 }
38
+ shell : ${{ inputs.shell } }
35
39
run : |
36
40
export GITHUB_ACCESS_TOKEN=${{ inputs.token }}
37
41
export GITHUB_ACTOR=${{ github.triggering_actor }}
43
47
44
48
python -m jupyter_releaser.actions.publish_changelog
45
49
46
- - shell : bash -eux {0 }
50
+ - shell : ${{ inputs.shell } }
47
51
run : |
48
52
echo "## Next Step" >> $GITHUB_STEP_SUMMARY
49
53
echo "Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}" >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments