Skip to content

Commit

Permalink
Separate directories
Browse files Browse the repository at this point in the history
  • Loading branch information
dguenther committed Oct 24, 2023
1 parent 88d820c commit 38ccbfb
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand All @@ -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:
Expand Down

0 comments on commit 38ccbfb

Please sign in to comment.