File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -119,17 +119,17 @@ jobs:
119
119
cd packages
120
120
121
121
# Prune old wheels
122
- if [ -d "simple/${{ github.repository }}/ nightly/" ]; then
123
- find simple/${{ github.repository }}/ nightly/ -type f -mtime +30 -name "*.whl" -exec rm -f {} \;
122
+ if [ -d "simple/nightly/" ]; then
123
+ find simple/nightly/ -type f -mtime +30 -name "*.whl" -exec rm -f {} \;
124
124
echo "Pruned nightly wheels older than 30 days"
125
125
else
126
126
echo "Nightly wheels directory does not exist. Creating it."
127
- mkdir -p simple/${{ github.repository }}/ nightly/
127
+ mkdir -p simple/nightly/
128
128
fi
129
129
130
130
# Copy new wheels
131
- cp ../dist/*.whl simple/${{ github.repository }}/ nightly/
132
- ls -lh simple/${{ github.repository }}/ nightly/
131
+ cp ../dist/*.whl simple/nightly/
132
+ ls -lh simple/nightly/
133
133
134
134
# Publish wheels
135
135
git remote set-url origin https://x-access-token:${{ secrets.NIGHTLY_TOKEN }}@github.com/${{ github.repository }}
You can’t perform that action at this time.
0 commit comments