Skip to content

Commit fc845fd

Browse files
authored
Ensure the publish step to be necessary for updating the native packages upon release (#3067)
1 parent 7d808cc commit fc845fd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,6 +1672,7 @@ jobs:
16721672
- checks
16731673
- reference-doc
16741674
- generate-linux-arm64-native-launcher
1675+
- publish
16751676
if: github.event_name == 'push'
16761677
runs-on: ubuntu-20.04
16771678
steps:
@@ -1730,7 +1731,9 @@ jobs:
17301731

17311732
update-packages:
17321733
name: Update packages
1733-
needs: launchers
1734+
needs:
1735+
- launchers
1736+
- publish
17341737
runs-on: ubuntu-20.04
17351738
if: startsWith(github.ref, 'refs/tags/v') && github.repository == 'VirtusLab/scala-cli'
17361739
steps:
@@ -1813,7 +1816,9 @@ jobs:
18131816

18141817
update-windows-packages:
18151818
name: Update Windows packages
1816-
needs: launchers
1819+
needs:
1820+
- launchers
1821+
- publish
18171822
runs-on: "windows-2019"
18181823
if: startsWith(github.ref, 'refs/tags/v') && github.repository == 'VirtusLab/scala-cli'
18191824
steps:

0 commit comments

Comments
 (0)