mirror of https://github.com/sbt/sbt.git
Python 3.7
This commit is contained in:
parent
e8eda76278
commit
39a2492ae7
|
|
@ -31,6 +31,10 @@ jobs:
|
|||
uses: olafurpg/setup-scala@v10
|
||||
with:
|
||||
java-version: "adopt@1.${{ matrix.java }}"
|
||||
- name: Set up Python 3.7
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Coursier cache
|
||||
uses: coursier/cache-action@v5
|
||||
- name: Cache sbt
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
|
||||
if '--version' in sys.argv or '-version' in sys.argv:
|
||||
print 'openjdk version "1.8.0_212"'
|
||||
print('openjdk version "1.8.0_212"')
|
||||
else:
|
||||
for arg in sys.argv[1:]:
|
||||
print(repr(arg)[1:-1])
|
||||
|
|
|
|||
Loading…
Reference in New Issue