File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 13
13
branches :
14
14
- main
15
15
16
+ permissions : {}
17
+
16
18
concurrency :
17
19
group : ${{ github.workflow }}-${{ github.ref }}
18
20
cancel-in-progress : true
@@ -22,13 +24,13 @@ jobs:
22
24
runs-on : ubuntu-latest
23
25
if : github.repository == 'xarray-contrib/cupy-xarray'
24
26
steps :
25
- - uses : actions/checkout@v4
27
+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26
28
with :
27
29
fetch-depth : 0
28
30
persist-credentials : false
29
31
30
32
- name : Install Python
31
- uses : actions/setup-python@v5
33
+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
32
34
with :
33
35
python-version : " 3.10"
34
36
53
55
else
54
56
echo "✅ Looks good"
55
57
fi
56
- - uses : actions/upload-artifact@v4
58
+
59
+ - name : Store the distribution packages
60
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
57
61
with :
58
62
name : releases
59
63
path : dist
@@ -63,12 +67,13 @@ jobs:
63
67
if : github.event_name == 'release'
64
68
runs-on : ubuntu-latest
65
69
steps :
66
- - uses : actions/download-artifact@v4
70
+ - uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
67
71
with :
68
72
name : releases
69
73
path : dist
74
+
70
75
- name : Publish package to PyPI
71
- uses : pypa/gh-action-pypi-publish@v1.5.1
76
+ uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
72
77
with :
73
78
user : __token__
74
79
password : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments