Skip to content

Commit

Permalink
Update arm-linux.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileYik authored Jan 9, 2025
1 parent efb3985 commit 24ae8fe
Showing 1 changed file with 2 additions and 46 deletions.
48 changes: 2 additions & 46 deletions .github/workflows/arm-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,62 +94,18 @@ jobs:
- name: Build
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}

- name: Upload lyric-for-musicfox-linux
uses: actions/[email protected]
if: runner.os == 'Linux'
with:
# Artifact name
name: lyric-for-musicfox-linux-${{ matrix.c_compiler }}
# A file, directory or wildcard pattern that describes what to upload
path: "${{ github.workspace }}/build/lyric-for-musicfox"
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --target mpris-lyric-sender

- name: Upload mpris-lyric-sender-linux
uses: actions/[email protected]
if: runner.os == 'Linux'
with:
# Artifact name
name: mpris-lyric-sender-linux-${{ matrix.c_compiler }}
# A file, directory or wildcard pattern that describes what to upload
path: "${{ github.workspace }}/build/mpris-lyric-sender"

- name: Upload lyric-for-musicfox-win
uses: actions/[email protected]
if: runner.os == 'Windows'
with:
# Artifact name
name: lyric-for-musicfox-win-${{ matrix.c_compiler }}
# A file, directory or wildcard pattern that describes what to upload
path: "${{ github.workspace }}/build/**/lyric-for-musicfox.exe"

- name: Download a Build Artifact
uses: actions/[email protected]
with:
path: "${{ github.workspace }}/build/"
pattern: lyric-for-musicfox*

- name: Upload Patched go-musicfox-linux
uses: actions/[email protected]
if: runner.os == 'Linux'
with:
# Artifact name
name: patched-go-musicfox-linux-${{ matrix.c_compiler }}
# A file, directory or wildcard pattern that describes what to upload
path: "${{ github.workspace }}/build/go-musicfox/bin/musicfox"

- name: Upload Patched go-musicfox-windows
uses: actions/[email protected]
if: runner.os == 'Windows'
with:
# Artifact name
name: patched-go-musicfox-win
# A file, directory or wildcard pattern that describes what to upload
path: "${{ github.workspace }}/build/go-musicfox/bin/*musicfox*"

- name: Download a Build Artifact
uses: actions/[email protected]
with:
path: "${{ github.workspace }}/build/go-musicfox/bin/"
pattern: musicfox*

pattern: mpris-lyric-sender*

0 comments on commit 24ae8fe

Please sign in to comment.