Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: Run yarn publish:staging #407

Merged
merged 1 commit into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading