23
23
if : ${{ github.repository_owner == 'nextcloud-releases' }}
24
24
25
25
steps :
26
- - uses : cachix/install-nix-action@02a151ada4993995686f9ed4f1be7cfbb229e56f # v31
26
+ - uses : cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.5.2
27
27
- uses : cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
28
28
with :
29
29
name : notify-push
@@ -41,15 +41,15 @@ jobs:
41
41
echo "APP_VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
42
42
43
43
- name : Checkout
44
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
44
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
45
45
with :
46
46
persist-credentials : false
47
47
path : ${{ env.APP_NAME }}
48
48
fetch-depth : 0
49
49
50
50
- name : Get app version number
51
51
id : app-version
52
- uses : skjnldsv/xpath-action@f5b036e9d973f42c86324833fd00be90665fbf77 # master
52
+ uses : skjnldsv/xpath-action@f5b036e9d973f42c86324833fd00be90665fbf77 # v1.0.0
53
53
with :
54
54
filename : ${{ env.APP_NAME }}/appinfo/info.xml
55
55
expression : " //info//version/text()"
60
60
61
61
- name : Get appinfo data
62
62
id : appinfo
63
- uses : skjnldsv/xpath-action@f5b036e9d973f42c86324833fd00be90665fbf77 # master
63
+ uses : skjnldsv/xpath-action@f5b036e9d973f42c86324833fd00be90665fbf77 # v1.0.0
64
64
with :
65
65
filename : ${{ env.APP_NAME }}/appinfo/info.xml
66
66
expression : " //info//dependencies//nextcloud/@min-version"
78
78
- name : Set up node ${{ steps.versions.outputs.nodeVersion }}
79
79
# Skip if no package.json
80
80
if : ${{ steps.versions.outputs.nodeVersion }}
81
- uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1 .0
81
+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4 .0
82
82
with :
83
83
node-version : ${{ steps.versions.outputs.nodeVersion }}
84
84
94
94
filename : ${{ env.APP_NAME }}/appinfo/info.xml
95
95
96
96
- name : Set up php ${{ steps.php-versions.outputs.php-min }}
97
- uses : shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
97
+ uses : shivammathur/setup-php@ccf2c627fe61b1b4d924adfcbd19d661a18133a0 # v2.35.2
98
98
with :
99
99
php-version : ${{ steps.php-versions.outputs.php-min }}
100
100
coverage : none
@@ -156,7 +156,7 @@ jobs:
156
156
unzip latest-$NCVERSION.zip
157
157
158
158
- name : Checkout server master fallback
159
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
159
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
160
160
if : ${{ steps.server-checkout.outcome != 'success' }}
161
161
with :
162
162
persist-credentials : false
@@ -180,7 +180,7 @@ jobs:
180
180
tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
181
181
182
182
- name : Attach tarball to github release
183
- uses : svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd # v2
183
+ uses : svenstaro/upload-release-action@81c65b7cd4de9b2570615ce3aad67a41de5b1a13 # v2.11.2
184
184
id : attach_to_release
185
185
with :
186
186
repo_token : ${{ secrets.GITHUB_TOKEN }}
@@ -190,7 +190,7 @@ jobs:
190
190
overwrite : true
191
191
192
192
- name : Upload app to Nextcloud appstore
193
- uses : nextcloud-releases/nextcloud-appstore-push-action@a011fe619bcf6e77ddebc96f9908e1af4071b9c1 # v1
193
+ uses : nextcloud-releases/nextcloud-appstore-push-action@a011fe619bcf6e77ddebc96f9908e1af4071b9c1 # v1.0.3
194
194
with :
195
195
app_name : ${{ env.APP_NAME }}
196
196
appstore_token : ${{ secrets.APPSTORE_TOKEN }}
0 commit comments