diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cd641518..b0033b15 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -68,7 +68,7 @@ jobs: - uses: actions/checkout@v3 - name: Write version to init file 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 with: python-version: '3.10' @@ -95,7 +95,7 @@ jobs: - uses: actions/checkout@v3 - name: Write version to init file 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 name: Run commands id: runcmd @@ -133,7 +133,7 @@ jobs: - uses: actions/checkout@v3 - name: Write version to init file 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 if: ${{ github.ref == 'refs/heads/master' }} @@ -163,7 +163,7 @@ jobs: ref: master - name: Write version to init file 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 }} uses: actions/setup-python@v3 with: