Skip to content

Commit e5f61a9

Browse files
authored
Merge pull request #4 from henry-js/develop
update
2 parents a89619d + 79b8b35 commit e5f61a9

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/build-prerelease.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ jobs:
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/

.github/workflows/publish-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ jobs:
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

0 commit comments

Comments
 (0)