correct job vars
This commit is contained in:
parent
3d896daacd
commit
2a12bd5308
1 changed files with 4 additions and 4 deletions
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
|
|
@ -63,7 +63,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Write version to init file
|
- name: Write version to init file
|
||||||
run: |
|
run: |
|
||||||
echo "${{needs.version.output.outputs.init_contents}}" > src/ytdl_sub/__init__.py
|
echo "${{needs.version.outputs.init_contents}}" > src/ytdl_sub/__init__.py
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.10'
|
||||||
|
|
@ -90,7 +90,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Write version to init file
|
- name: Write version to init file
|
||||||
run: |
|
run: |
|
||||||
echo "${{needs.version.output.outputs.init_contents}}" > src/ytdl_sub/__init__.py
|
echo "${{needs.version.outputs.init_contents}}" > src/ytdl_sub/__init__.py
|
||||||
- uses: uraimo/run-on-arch-action@v2
|
- uses: uraimo/run-on-arch-action@v2
|
||||||
name: Run commands
|
name: Run commands
|
||||||
id: runcmd
|
id: runcmd
|
||||||
|
|
@ -128,7 +128,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Write version to init file
|
- name: Write version to init file
|
||||||
run: |
|
run: |
|
||||||
echo "${{needs.version.output.outputs.init_contents}}" > src/ytdl_sub/__init__.py
|
echo "${{needs.version.outputs.init_contents}}" > src/ytdl_sub/__init__.py
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
|
|
@ -158,7 +158,7 @@ jobs:
|
||||||
ref: master
|
ref: master
|
||||||
- name: Write version to init file
|
- name: Write version to init file
|
||||||
run: |
|
run: |
|
||||||
echo "${{needs.version.output.outputs.init_contents}}" > src/ytdl_sub/__init__.py
|
echo "${{needs.version.outputs.init_contents}}" > src/ytdl_sub/__init__.py
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue