Skip to content

Commit

Permalink
Update ubuntu.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s12mmm3 committed Feb 8, 2024
1 parent 9e24cc1 commit 9259559
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
assume: --release
qt_target: 'desktop'
qt_host: 'linux'
archiveName: 'QCloudMusicApi-${{ github.ref_name }}-${{ matrix.qt_version }}-${{ matrix.qt_arch }}'
# 步骤
steps:
# 安装Qt
Expand Down Expand Up @@ -73,19 +74,9 @@ jobs:
cmake --build ${{ env.BUILD_PATH }} --target install --config ${{ env.BUILD_TYPE }}
ls
# 打包 (未实现)
- name: Package
id: package
env:
archiveName: 'QCloudMusicApi-${{ github.ref_name }}-${{ matrix.qt_version }}-${{ matrix.qt_arch }}'
run: |
# 记录packageName给后续step
$name = ${env:archiveName}
echo "::set-output name=packageName::$name"
ls
# tag 查询github-Release
# 上传artifacts
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.package.outputs.packageName }}
name: ${{ env.archiveName }}
path: ${{ github.workspace }}/${{ env.BUILD_PATH }}/${{ env.BUILD_TYPE }}

0 comments on commit 9259559

Please sign in to comment.