3737 timeout-minutes : 20
3838 steps :
3939 - name : Checkout
40- uses : actions/checkout@v3
40+ uses : actions/checkout@v4
4141
4242 - name : set version number (unix)
4343 if : ${{ github.event_name == 'tags' }} and ${{ matrix.runner != 'windows-latest' }}
@@ -47,13 +47,10 @@ jobs:
4747 run : echo "VERSION_NUM=$(Split-Path -Leaf ${{ github.ref }})" >> $env:GITHUB_ENV
4848
4949 - name : Install Flutter
50- uses : subosito/flutter-action@v2.10 .0
50+ uses : subosito/flutter-action@v2.13 .0
5151 with :
5252 channel : ${{ matrix.channel }}
5353 cache : true
54- cache-key : " flutter-:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache
55- cache-path : " ${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path
56- architecture : x64 # action no current support for arm64
5754
5855 - name : Install Dependencies (windows)
5956 if : ${{ matrix.runner == 'windows-latest' }}
@@ -85,13 +82,14 @@ jobs:
8582 - name : Zip artifact (MacOS)
8683 if : ${{ matrix.runner == 'macos-latest' }}
8784 shell : bash
88- 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 }}"
85+ run : brew install create-dmg && create-dmg --icon "Past Paper Master.app " 200 190 --app-drop-link 600 185 --volname "PastPaperMaster" "ppm-${{ matrix.target }}-${VERSION_NUM}.dmg" "${{ matrix.artifact }}"
8986
9087 - name : Upload artifact
91- uses : actions/upload-artifact@v3
88+ uses : actions/upload-artifact@v4
9289 with :
9390 name : ppm-${{ matrix.target }}-${{ env.VERSION_NUM }}
9491 path : ppm-${{ matrix.target }}-${{ env.VERSION_NUM }}.*
92+
9593 - uses : ncipollo/release-action@v1
9694 if : ${{ github.event_name == 'tags' }}
9795 with :
0 commit comments