Skip to content

Commit

Permalink
ci(detail-ci): Don't declare the variable
Browse files Browse the repository at this point in the history
It's not needed, and it becomes clean.
  • Loading branch information
5ouma committed Oct 9, 2024
1 parent 9c2994e commit 264f247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/detail-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
id: skip
if: ${{ matrix.os == 'macOS-14' }}
run: |
declare HOMEBREW_BUNDLE_MAS_SKIP && HOMEBREW_BUNDLE_MAS_SKIP="$(curl -s "https://raw.githubusercontent.com/5ouma/dotfiles/${GITHUB_HEAD_REF:-HEAD}/data/Brewfile" | sed -nE 's/^mas.* ([0-9]+)/\1/gp' | tr '\n' ' ')"
HOMEBREW_BUNDLE_MAS_SKIP="$(curl -s "https://raw.githubusercontent.com/5ouma/dotfiles/${GITHUB_HEAD_REF:-HEAD}/data/Brewfile" | sed -nE 's/^mas.* ([0-9]+)/\1/gp' | tr '\n' ' ')"
echo "HOMEBREW_BUNDLE_MAS_SKIP=$HOMEBREW_BUNDLE_MAS_SKIP" | tee -a "$GITHUB_OUTPUT"
- name: ⚙️ Run setup
Expand Down

0 comments on commit 264f247

Please sign in to comment.