Skip to content

Commit

Permalink
Fixed: Run yarn publish:staging
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Nov 30, 2024
1 parent b6244af commit f9b0cb5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/actions/build/windows/todesktop/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ inputs:
TODESKTOP_ACCESS_TOKEN:
description: 'ToDesktop Access Token'
required: true
STAGING:
description: 'Build Staging'
required: false
runs:
using: composite
steps:
Expand Down Expand Up @@ -42,4 +45,11 @@ runs:
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
TODESKTOP_EMAIL: ${{ inputs.TODESKTOP_EMAIL}}
TODESKTOP_ACCESS_TOKEN: ${{inputs.TODESKTOP_ACCESS_TOKEN}}
run: yarn run publish
run: |
if [ "${{ inputs.STAGING }}" = "true" ]; then
echo "🚧 Building STAGING version..."
yarn run publish:staging
else
echo "🚀 Building PRODUCTION version..."
yarn run publish
fi
1 change: 1 addition & 0 deletions .github/workflows/publish_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
TODESKTOP_ACCESS_TOKEN: ${{secrets.TODESKTOP_ACCESS_TOKEN}}
TODESKTOP_EMAIL: ${{secrets.TODESKTOP_EMAIL}}
STAGING: true

0 comments on commit f9b0cb5

Please sign in to comment.