mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 10:40:21 +00:00
CI mac: added arch string
to identify if the build is arm64 or x86_64
This commit is contained in:
5
.github/scripts/environment.sh
vendored
5
.github/scripts/environment.sh
vendored
@@ -14,6 +14,11 @@ else
|
||||
TAG=$VERSION
|
||||
fi
|
||||
|
||||
# include platform on mac in version string
|
||||
if [ "$(uname -s)" = Darwin ]; then
|
||||
VERSION="$(uname -m)-$VERSION"
|
||||
fi
|
||||
|
||||
if [ -z "${CHANNEL-}" ]; then
|
||||
CHANNEL=$VERSION
|
||||
fi
|
||||
|
||||
4
.github/workflows/ccpp.yml
vendored
4
.github/workflows/ccpp.yml
vendored
@@ -225,12 +225,12 @@ jobs:
|
||||
if: (github.repository == 'CESNET/UltraGrid' && github.ref == 'refs/heads/master') || startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
brew install jq
|
||||
.github/scripts/replace-asset.sh $TAG UltraGrid-$VERSION.dmg application/x-apple-diskimage macOS%20build
|
||||
.github/scripts/replace-asset.sh $TAG UltraGrid-$VERSION.dmg application/x-apple-diskimage macOS%20$(uname -m)%20build
|
||||
- name: Upload Build
|
||||
if: steps.upload-release.conclusion == 'skipped'
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: UltraGrid-macOS
|
||||
name: UltraGrid-${{ env.VERSION }}-macOS
|
||||
path: UltraGrid-${{ env.VERSION }}.dmg
|
||||
|
||||
Windows:
|
||||
|
||||
Reference in New Issue
Block a user