Skip to content

Commit

Permalink
ci: publish to release
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Lord authored Dec 5, 2023
1 parent 9bba0f0 commit 56cf3e2
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .github/workflows/build_qqmsg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ on:
- ".github/workflows/build_qqmsg.yml"

jobs:
test:
# Run a job for each of the specified target architectures:
build:
strategy:
matrix:
arch:
- amd64
- amd64_x86
- amd64_arm64
name: default
name: build
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -35,3 +34,27 @@ jobs:
with:
name: QQMsg_${{ matrix.arch }}
path: QQMsg/*.exe

release:
name: release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/download-artifact@v3
with:
path: artifacts

- name: Display structure of downloaded files
run: ls -R
working-directory: artifacts

- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: latest
name: latest
draft: false
prerelease: false
fail_on_unmatched_files: true
files: 'artifacts/*'

0 comments on commit 56cf3e2

Please sign in to comment.