18
18
19
19
release_dist :
20
20
21
- # This job, in contrast to "dist" in ci-macos.yml,
22
- # does not use "configure --enable-download-from-upstream-url"
23
- # (the default since #32390).
21
+ # This job first checks whether "configure --enable-download-from-upstream-url"
22
+ # (the default since #32390) is needed.
24
23
#
25
24
# In this way, we check that all necessary package tarballs
26
25
# have already been uploaded to the Sage server at the time
@@ -37,12 +36,19 @@ jobs:
37
36
run : |
38
37
sudo DEBIAN_FRONTEND=noninteractive apt-get update
39
38
sudo DEBIAN_FRONTEND=noninteractive apt-get install $(build/bin/sage-get-system-packages debian _bootstrap)
40
- - name : make dist
39
+ - name : make dist (--disable-download-from-upstream-url)
41
40
run : |
42
- ./bootstrap -D && ./configure && make dist
41
+ ./bootstrap -D && ./configure --disable-download-from-upstream-url && make dist
42
+ env :
43
+ MAKE : make -j8
44
+ - name : make dist (--enable-download-from-upstream-url)
45
+ if : failure()
46
+ run : |
47
+ ./configure && make dist
43
48
env :
44
49
MAKE : make -j8
45
50
- uses : actions/upload-artifact@v3
51
+ if : success() || failure()
46
52
with :
47
53
path : |
48
54
dist/*.tar.gz
53
59
54
60
needs : release_dist
55
61
runs-on : ubuntu-latest
56
- if : github.repository == 'sagemath/sage' && startsWith(github.ref, 'refs/tags/') && ! contains(github.ref, 'beta') && !contains(github.ref, 'rc')
62
+ if : (success() || failure()) && github.repository == 'sagemath/sage' && startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'beta') && !contains(github.ref, 'rc')
57
63
steps :
58
64
- uses : actions/download-artifact@v3
59
65
with :
0 commit comments