diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 23a87bff..84edbd13 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -153,21 +153,26 @@ jobs: uses: actions/download-artifact@v3 with: name: latest-mac-arm64.yml - path: output + path: latest-mac-arm64 - name: Download latest-mac-x64.yml uses: actions/download-artifact@v3 with: name: latest-mac-x64.yml - path: output + path: latest-mac-x64 - name: ls - run: ls -R output + run: | + ls -R latest-mac-arm64 + ls -R latest-mac-x64 - name: Install yq uses: mikefarah/yq@v4.35.2 with: - cmd: yq '.files += load("output/latest-mac-arm64.yml").files' output/latest-mac-x64.yml > output/latest-mac.yml + cmd: yq '.files += load("latest-mac-x64/latest-mac.yml").files' latest-mac-arm64/latest-mac.yml > latest-mac.yml + + - name: cat + run: cat latest-mac.yml - name: Delete old latest-mac.yml uses: mknejp/delete-release-assets@v1 @@ -179,7 +184,7 @@ jobs: - name: Upload latest-mac.yml uses: softprops/action-gh-release@v1 with: - files: output/latest-mac.yml + files: latest-mac.yml tag_name: v${{ steps.package-version.outputs.current-version }} # publish_on_linux: