Skip to content

Commit d04cfc9

Browse files
committed
ci: Set IN_GETOPT_BIN environment variable for native macOS job
1 parent 568dbbe commit d04cfc9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ jobs:
6262
- name: Install Homebrew packages
6363
run: brew install boost libevent qt@5 miniupnpc libnatpmp ccache zeromq qrencode libtool automake gnu-getopt
6464

65-
- name: Set Ccache directory
66-
run: echo "CCACHE_DIR=${RUNNER_TEMP}/ccache_dir" >> "$GITHUB_ENV"
65+
- name: Set environment variables
66+
run: |
67+
echo "CCACHE_DIR=${RUNNER_TEMP}/ccache_dir" >> "$GITHUB_ENV"
68+
echo "IN_GETOPT_BIN=$(brew --prefix gnu-getopt)/bin/getopt" >> "$GITHUB_ENV"
6769
6870
- name: Restore Ccache cache
6971
uses: actions/cache/restore@v4

0 commit comments

Comments
 (0)