File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 9898 include :
9999 - { runner_os: windows-latest, os: win, arch: x64 }
100100 - { runner_os: ubuntu-latest, os: linux, arch: x64 }
101- - { runner_os: macos-latest, os: osx, arch: x64 }
102101 steps :
103102 - name : Checkout code
104103 uses : actions/checkout@v4
@@ -107,16 +106,15 @@ jobs:
107106 uses : actions/setup-dotnet@v4
108107 - name : Setup Taskfile
109108 uses : arduino/setup-task@v2
110- - name : Get pre-release version
111- id : version
112- run : echo "version=$(task get-version)" >> $GITHUB_OUTPUT
109+ - name : Get pre-release version and set ENV
110+ run : echo "APP_VERSION=$(task get-version)" >> $GITHUB_ENV
113111 - name : Run Tests
114112 run : task test
115113 - name : Build and Pack Pre-release for ${{ matrix.os }}-${{ matrix.arch }}
116- # This now correctly calls your CI-specific task.
117- run : task build-platform-release OS=${{ matrix.os }} ARCH=${{ matrix.arch }} APP_VERSION=${{ steps.version.outputs.version }}
114+ run : task build-platform-release OS=${{ matrix.os }} ARCH=${{ matrix.arch }} APP_VERSION=$APP_VERSION
115+ shell : bash
118116 - name : Upload Application Artifact
119117 uses : actions/upload-artifact@v4
120118 with :
121- name : app-artifact-${{ matrix.os }}-${{ matrix.arch }}-${{ steps.version.outputs.version }}
119+ name : app-artifact-${{ matrix.os }}-${{ matrix.arch }}-$APP_VERSION
122120 path : dist/releases/
Original file line number Diff line number Diff line change 9090 include :
9191 - { runner_os: windows-latest, os: win, arch: x64 }
9292 - { runner_os: ubuntu-latest, os: linux, arch: x64 }
93- - { runner_os: macos-latest, os: osx, arch: x64 }
9493 steps :
9594 - name : Checkout code
9695 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments