Skip to content

Commit 466d606

Browse files
committed
fix
1 parent eb5e11d commit 466d606

1 file changed

Lines changed: 5 additions & 11 deletions

File tree

.github/workflows/changesets.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
101101
zip-chrome:
102102
runs-on: ubuntu-latest
103-
needs: [ "test" ]
103+
needs: [ "test", "changeset" ]
104104
steps:
105105
- name: Checkout PR
106106
uses: actions/checkout@v4
@@ -132,7 +132,7 @@ jobs:
132132

133133
zip-firefox:
134134
runs-on: ubuntu-latest
135-
needs: [ "test" ]
135+
needs: [ "test", "changeset" ]
136136
steps:
137137
- name: Checkout PR
138138
uses: actions/checkout@v4
@@ -174,23 +174,17 @@ jobs:
174174
- name: 📥 Monorepo install
175175
uses: ./.github/actions/pnpm-install
176176

177-
- name: Restore dist
178-
uses: actions/cache@v4
179-
with:
180-
path: |
181-
./markdown-schema/dist
182-
./markdown-transformer/dist
183-
key: packages-dist-${{ github.run_id }}-${{ github.run_number }}
184-
185177
- name: Download Zip Chrome
186178
uses: actions/download-artifact@v5
187179
with:
188180
name: zip-chrome
181+
path: ${{ GITHUB_WORKSPACE }}/zips
189182

190183
- name: Download Zip Firefox
191184
uses: actions/download-artifact@v5
192185
with:
193186
name: zip-firefox
187+
path: ${{ GITHUB_WORKSPACE }}/zips
194188

195189
- name: Create release
196190
uses: softprops/action-gh-release@v2
@@ -201,4 +195,4 @@ jobs:
201195
body: |
202196
Please refer to [CHANGELOG.md](https://github.com/riccardoperra/better-comments-for-github/tree/${{ needs.changeset.outputs.new_tag }}/extension/CHANGELOG.md) for the full list of changes.
203197
generate_release_notes: true
204-
files: extension/dist/**/*.zip
198+
files: zips/***.zip

0 commit comments

Comments
 (0)