Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Leetfs committed Dec 12, 2024
1 parent 09fee53 commit 5380a59
Showing 1 changed file with 7 additions and 22 deletions.
29 changes: 7 additions & 22 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Upload Linux Artifact
uses: actions/upload-artifact@v4
with:
name: linux-artifact
name: linux-${{ env.VERSION }}
path: out/make

windows:
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Upload Windows Artifact
uses: actions/upload-artifact@v4
with:
name: windows-artifact
name: windows-${{ env.VERSION }}
path: out/make

macos:
Expand All @@ -80,38 +80,23 @@ jobs:
- name: Upload macOS Artifact
uses: actions/upload-artifact@v4
with:
name: macos-artifact
name: macos-${{ env.VERSION }}
path: out/make

release:
needs: [linux, windows, macos]
runs-on: ubuntu-latest
steps:
- name: Download Linux Artifact
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: linux-artifact
path: dist/linux

- name: Download Windows Artifact
uses: actions/download-artifact@v4
with:
name: windows-artifact
path: dist/windows

- name: Download macOS Artifact
uses: actions/download-artifact@v4
with:
name: macos-artifact
path: dist/macos

- name: GH Release
uses: softprops/[email protected]
with:
files: |
dist/windows/*
dist/linux/*
dist/macos/*
macos-${{ env.VERSION }}
windows-${{ env.VERSION }}
linux-${{ env.VERSION }}
tag_name: ${{ env.VERSION }}

# - name: Upload Linux Asset
Expand Down

0 comments on commit 5380a59

Please sign in to comment.