File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,14 +40,11 @@ jobs:
4040 uses : actions/checkout@v3
4141
4242 - name : set version number (unix)
43- run : echo "VERSION_NUM=$(echo ${{ github.ref }} | cut -d / -f 3)" >> $GITHUB_ENV
4443 if : ${{ github.event_name == 'tags' }} and ${{ matrix.runner != 'windows-latest' }}
44+ run : echo "VERSION_NUM=$(echo ${{ github.ref }} | cut -d / -f 3)" >> $GITHUB_ENV
4545 - name : set version number (windows)
46- run : echo "VERSION_NUM=$(Split-Path -Leaf ${{ github.ref }})" >> $env:GITHUB_ENV
4746 if : ${{ github.event_name == 'tags' }} and ${{ matrix.runner == 'windows-latest' }}
48- - name : set version number (dev build)
49- run : echo "VERSION_NUM=dev" >> $GITHUB_ENV
50- if : ${{ github.event_name != 'tags' }}
47+ run : echo "VERSION_NUM=$(Split-Path -Leaf ${{ github.ref }})" >> $env:GITHUB_ENV
5148
5249
5350 - name : Install Flutter
8986 - name : Zip artifact (MacOS)
9087 if : ${{ matrix.runner == 'macos-latest' }}
9188 shell : bash
92- run : brew install create-dmg && create-dmg --icon "$(basename ${{ matrix.artifact }})" 200 190 --app-drop-link 600 185 --volname "PastPaperMaster" "ppm-${{ matrix.target }}-${VERSION_NUM}.dmg" ${{ matrix.artifact }}
89+ run : brew install create-dmg && create-dmg --icon "$(basename ${{ matrix.artifact }})" 200 190 --app-drop-link 600 185 --volname "PastPaperMaster" "ppm-${{ matrix.target }}-${VERSION_NUM}.dmg" " ${{ matrix.artifact }}"
9390
9491 - name : Upload artifact
9592 uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments