fix: Local media address is not resolved correctly #141
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package | |
on: | |
push: | |
tags: v* | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- os: macos-latest | |
platform: 'mac' | |
runs-on: ${{ matrix.os }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: 20.x | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install | |
run: | | |
pnpm install --no-frozen-lockfile | |
- name: Set env | |
if: matrix.platform == 'mac' | |
run: | | |
echo "APPLEID=${{ secrets.APPLEID }}" >> $GITHUB_ENV | |
echo "APPLEIDPASS=${{ secrets.APPLEIDPASS }}" >> $GITHUB_ENV | |
echo "CSC_LINK=${{ secrets.CERTIFICATE_OSX_APPLICATION }}" >> $GITHUB_ENV | |
echo "CSC_KEY_PASSWORD=${{ secrets.CERTIFICATE_PASSWORD }}" >> $GITHUB_ENV | |
echo "APPLETEAMID=${{ secrets.APPLETEAMID }}" >> $GITHUB_ENV | |
- name: Build | |
run: | | |
npm run build | |
- name: Build App | |
if: matrix.platform == 'mac' | |
run: | | |
npm run build:mac | |
npm run build:win | |
npm run build:linux | |
- name: GH Release | |
uses: softprops/action-gh-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
draft: '' | |
prerelease: true | |
files: | | |
dist/Bluestone*.* | |
dist/latest*.yml |