Skip to content

Commit d64cebb

Browse files
Update runtime nightly to correctly get python version (#175)
Summary: Pull Request resolved: #175 Test Plan: Imported from GitHub, without a `Test Plan:` line. Numbers resolved correctly: {F770684756} {F770685077} Reviewed By: PaliC Differential Revision: D39551010 Pulled By: anirbanr-fb-r2p fbshipit-source-id: 95a2e05910beec445d52a717c159916100fdb248
1 parent 5562304 commit d64cebb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/runtime_nightly.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,20 @@ jobs:
3737
run: |
3838
docker run --rm multipy bash -c "if [[ ${{ matrix.python-minor-version }} -gt 7 ]]; then pip install -r compat-requirements.txt && multipy/runtime/build/interactive_embedded_interpreter --pyscript multipy/runtime/test_compat.py; fi"
3939
40+
- name: Set Python Version
41+
run: |
42+
echo "python-version=${{ matrix.python-major-version }}.${{ matrix.python-minor-version }}" >> $GITHUB_ENV
43+
4044
- name: Create Tarball
4145
run: |
4246
docker cp $(docker run -d multipy):/opt/dist/multipy .
43-
tar -czvf multipy_runtime_python${{ matrix.python-version }}.tar.gz multipy/
47+
tar -czvf multipy_runtime_python${{ env.python-version }}.tar.gz multipy/
4448
4549
- name: Update nightly release
4650
uses: pyTooling/Actions/releaser@main
4751
with:
48-
tag: nightly-runtime-python${{ matrix.python-version }}
52+
tag: nightly-runtime-python${{ env.python-version }}
4953
rm: true
5054
token: ${{ secrets.GITHUB_TOKEN }}
5155
files: |
52-
multipy_runtime_python${{ matrix.python-version }}.tar.gz
56+
multipy_runtime_python${{ env.python-version }}.tar.gz

0 commit comments

Comments
 (0)