Skip to content

Commit

Permalink
another one
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Feb 23, 2024
1 parent f767528 commit 15417dd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish-pending-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
- name: decide on dry run
run: |
if [[ ${{ github.event_name == 'workflow_dispatch' }} == true ]]; then
SCRIPTARGS='--dry-run'
echo "SCRIPTARGS=SCRIPTARGS" >> $GITHUB_ENV
if [[ ${{ github.event.inputs.dry-run }} == true ]]; then
echo "DRYRUN=--dry-run" >> $GITHUB_ENV
fi
fi
- run: dotnet fsi scripts/publish-pending-packages.fsx ${{ env.SCRIPTARGS }}
- run: dotnet fsi scripts/publish-pending-packages.fsx ${{ env.DRYRUN }}
env:
APIKEY: ${{ secrets.APIKEY }}

0 comments on commit 15417dd

Please sign in to comment.