mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
chore: properly skip tangle (#868)
Outputs are now one level up as we define them in the previous job.
This commit is contained in:
@@ -47,7 +47,7 @@ jobs:
|
||||
tangle:
|
||||
runs-on: ubuntu-latest
|
||||
needs: version-or-publish
|
||||
if: ${{ needs.version-or-publish.outputs.covector.successfulPublish }} == 'true'
|
||||
if: ${{ needs.version-or-publish.outputs.successfulPublish }} == 'true'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -67,8 +67,8 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: echo ::set-env name=PUBLISHED::$(jq '.${{ matrix.package.name }}.command' ${{ needs.version-or-publish.outputs.covector.change }})
|
||||
- run: echo ::set-env name=PACKAGE_VERSION::$(jq '.${{ matrix.package.name }}.pkg.pkgFile.version' ${{ needs.version-or-publish.outputs.covector.change }})
|
||||
- run: echo ::set-env name=PUBLISHED::$(jq '.${{ matrix.package.name }}.command' ${{ needs.version-or-publish.outputs.change }})
|
||||
- run: echo ::set-env name=PACKAGE_VERSION::$(jq '.${{ matrix.package.name }}.pkg.pkgFile.version' ${{ needs.version-or-publish.outputs.change }})
|
||||
- name: Tangle Release
|
||||
if: env.PUBLISHED != 'false' && startsWith(env.PUBLISHED, 'parse error') != true && startsWith(env.PACKAGE_VERSION, 'parse error') != true
|
||||
id: tangle_release
|
||||
|
||||
Reference in New Issue
Block a user