refine ci-win

This commit is contained in:
Le Tan 2020-11-30 07:45:23 +08:00
parent fb9962d013
commit 5d15232260

View File

@ -9,13 +9,14 @@ on:
# Allows you to run this workflow manually from the Actions tab. # Allows you to run this workflow manually from the Actions tab.
workflow_dispatch: workflow_dispatch:
env:
VNOTE_VER: 3.0.0
jobs: jobs:
build: build:
name: ${{ matrix.config.name }} name: ${{ matrix.config.name }}
runs-on: windows-latest runs-on: windows-latest
timeout-minutes: 120 timeout-minutes: 120
env:
vnote-version: 3.0.0
strategy: strategy:
matrix: matrix:
@ -86,7 +87,7 @@ jobs:
- name: Archive Artifacts - name: Archive Artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: vnote-${{matrix.config.platform}}_${{env.vnote-version}} name: vnote-${{matrix.config.platform}}_v${{env.VNOTE_VER}}
path: ${{env.DISTRIB_PATH}} path: ${{env.DISTRIB_PATH}}
env: env:
DISTRIB_PATH: ${{runner.workspace}}/build/distrib/vnote DISTRIB_PATH: ${{runner.workspace}}/build/distrib/vnote