From a1e2f6f965c6164da4a637b62236616b5203bbd9 Mon Sep 17 00:00:00 2001 From: Fabian Bormann Date: Sat, 15 Apr 2023 18:42:29 +0200 Subject: [PATCH] chore: add dependency between jobs --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a832285..4b9b0b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,7 @@ jobs: release: ${{ startsWith(github.ref, 'refs/tags/v') }} update-readme: runs-on: ubuntu-latest + needs: release steps: - name: 👀 Compute versions run: | @@ -40,10 +41,10 @@ jobs: - name: 📝 Update Readme with Version run: | - sed -i "s/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.PREVIOUS_VERSION }}\/cardano-node-ui-${{ env.PREVIOUS_VERSION }}.dmg/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.VERSION }}\/cardano-node-ui-${{ env.VERSION }}.dmg/g" README.md - sed -i "s/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.PREVIOUS_VERSION }}\/cardano-node-ui-${{ env.PREVIOUS_VERSION }}.AppImage/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.VERSION }}\/cardano-node-ui-${{ env.VERSION }}.AppImage/g" README.md - sed -i "s/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.PREVIOUS_VERSION }}\/cardano-node-ui-Setup-${{ env.PREVIOUS_VERSION }}.exe/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.VERSION }}\/cardano-node-ui-Setup-${{ env.VERSION }}.exe/g" README.md - sed -i "s/📦 Cardano Node Ui v${{ env.VERSION }}/📦 Cardano Node Ui v${{ env.VERSION }}/g" README.md + sed -i 's/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.PREVIOUS_VERSION }}\/cardano-node-ui-${{ env.PREVIOUS_VERSION }}.dmg/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.VERSION }}\/cardano-node-ui-${{ env.VERSION }}.dmg/g' README.md + sed -i 's/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.PREVIOUS_VERSION }}\/cardano-node-ui-${{ env.PREVIOUS_VERSION }}.AppImage/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.VERSION }}\/cardano-node-ui-${{ env.VERSION }}.AppImage/g' README.md + sed -i 's/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.PREVIOUS_VERSION }}\/cardano-node-ui-Setup-${{ env.PREVIOUS_VERSION }}.exe/fabianbormann\/cardano-node-ui\/releases\/download\/v${{ env.VERSION }}\/cardano-node-ui-Setup-${{ env.VERSION }}.exe/g' README.md + sed -i 's/📦 Cardano Node Ui v${{ env.VERSION }}/📦 Cardano Node Ui v${{ env.VERSION }}/g' README.md - name: 📬 Commit Changes uses: EndBug/add-and-commit@v7