Skip to content

Commit

Permalink
chore: add dependency between jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianbormann committed Apr 15, 2023
1 parent 3195e3d commit a1e2f6f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit a1e2f6f

Please sign in to comment.