TA的每日心情 | 慵懒 2022-3-6 15:37 |
---|
签到天数: 4 天 [LV.2]偶尔看看I
荣誉会员
- 积分
- 142574
|
- - name: Get version
- shell: bash
- run: |
- echo "version=$(cat src/Properties/AssemblyInfo.cs | grep -o 'AssemblyFileVersion.*' | grep -o '\([0-9]\+\.\)\+[0-9]\+')" >> $GITHUB_ENV
- - name: upload
- uses: actions/upload-artifact@v2
- with:
- name: "mpv.net_${{ env.version }}"
- path: dist
复制代码 可以加一个版本号
|
|