@@ -39,14 +39,14 @@ jobs:
39
39
40
40
# Checkout the current repository into a directory (repositories name)
41
41
- name : Checkout Repository
42
- uses : actions/checkout@v2
42
+ uses : actions/checkout@v4
43
43
with :
44
44
fetch-depth : 0
45
45
path : ${{ github.event.repository.name }}
46
46
47
47
# Checkout the required scripts from kodi-pvr/pvr-scripts into the 'scripts' directory
48
48
- name : Checkout Scripts
49
- uses : actions/checkout@v2
49
+ uses : actions/checkout@v4
50
50
with :
51
51
fetch-depth : 0
52
52
repository : kodi-pvr/pvr-scripts
60
60
61
61
# Setup python version 3.9
62
62
- name : Set up Python
63
- uses : actions/setup-python@v2
63
+ uses : actions/setup-python@v5
64
64
with :
65
65
python-version : ' 3.9'
66
66
@@ -97,12 +97,12 @@ jobs:
97
97
changes="${changes//$'\r'/'%0D'}"
98
98
changes="${changes//$'\\n'/'%0A'}"
99
99
changes="${changes//$'\\r'/'%0D'}"
100
- echo ::set-output name= changes:: $changes
100
+ echo " changes= $changes" >> $GITHUB_OUTPUT
101
101
version=$(xmlstarlet fo -R "$(find . -name addon.xml.in)" | xmlstarlet sel -t -v 'string(/addon/@version)')
102
- echo ::set-output name= version:: $version
102
+ echo " version= $version" >> $GITHUB_OUTPUT
103
103
branch=$(echo ${GITHUB_REF#refs/heads/})
104
- echo ::set-output name= branch:: $branch
105
- echo ::set-output name= today:: $(date +'%Y-%m-%d')
104
+ echo " branch= $branch" >> $GITHUB_OUTPUT
105
+ echo " today= $(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
106
106
working-directory : ${{ github.event.repository.name }}
107
107
108
108
# Create a commit of the incremented version and changelog, news changes
@@ -133,7 +133,7 @@ jobs:
133
133
shell : bash
134
134
135
135
# Create a release at {steps.required-variables.outputs.branch}
136
- # - tag and release name format: {steps.required-variables.outputs.version}-{steps.required-variables.outputs.branch} ie. 20 .0.0-Nexus
136
+ # - tag and release name format: {steps.required-variables.outputs.version}-{steps.required-variables.outputs.branch} ie. 21 .0.0-Omega
137
137
# - release body: {steps.required-variables.outputs.changes}
138
138
- name : Create Release
139
139
id : create-release
0 commit comments