Skip to content

fix3

fix3 #13

Workflow file for this run

name: Build QQMsg
on:
push:
branches:
- master
paths:
- "QQMsg/**"
- ".github/workflows/build_qqmsg.yml"
jobs:
build:
strategy:
matrix:
arch:
- amd64
- amd64_x86
- amd64_arm64
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}
- name: Compile QQMsg
shell: cmd
run: |
cl.exe QQMsg.cpp tree.c md5.c QQmsg_decode.c BlowFish.c /link /out:QQMsg_${{ matrix.arch }}.exe
dir
working-directory: QQMsg
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: QQMsg_${{ matrix.arch }}
path: QQMsg/QQMsg_${{ matrix.arch }}.exe
release:
needs: build
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/*/*.exe'