This commit is contained in:
Jesse Bannon 2023-02-22 15:31:58 -08:00
parent 4fda989a83
commit 9d21c42fb6

View file

@ -68,7 +68,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 "${{version.output.outputs.init_contents}}" > src/ytdl_sub/__init__.py echo "${{needs.version.output.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'
@ -95,7 +95,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 "${{version.output.outputs.init_contents}}" > src/ytdl_sub/__init__.py echo "${{needs.version.output.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
@ -133,7 +133,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 "${{version.output.outputs.init_contents}}" > src/ytdl_sub/__init__.py echo "${{needs.version.output.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' }}
@ -163,7 +163,7 @@ jobs:
ref: master ref: master
- name: Write version to init file - name: Write version to init file
run: | run: |
echo "${{version.output.outputs.init_contents}}" > src/ytdl_sub/__init__.py echo "${{needs.version.output.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: