|
13 | 13 | fetch-depth: 0
|
14 | 14 | persist-credentials: false
|
15 | 15 | ref: ${{ github.ref }}
|
16 |
| - - run: mkdir -p "$HOME/test1" |
17 |
| - shell: bash |
18 |
| - - uses: ruby/setup-ruby@v1 |
19 |
| - - run: mkdir -p "$HOME/test2" |
20 |
| - shell: bash |
21 | 16 | - run: gem install asciidoctor
|
22 |
| - - run: Rename-Item -Path C:\msys64 -NewName msys64-tmp -Force |
23 |
| - # We move the MSYS2 installed for Ruby aside to prevent use of its Git, |
24 |
| - # which does not honour the PATH we set to our built git-lfs binary. |
25 | 17 | - uses: actions/setup-go@v5
|
26 | 18 | with:
|
27 | 19 | go-version: '1.23.x'
|
|
38 | 30 | flavor: minimal
|
39 | 31 | # We install the SDK so as to have access to the msgfmt.exe binary
|
40 | 32 | # from the GNU gettext package.
|
41 |
| - - run: set -x; env; type bash; cygpath -aw /; cat /etc/profile |
| 33 | + - run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" script/cibuild |
| 34 | + shell: bash |
| 35 | + - run: rm -f commands/mancontent_gen.go |
| 36 | + shell: bash |
| 37 | + - run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" make GOARCH=386 -B |
| 38 | + shell: bash |
| 39 | + env: |
| 40 | + FORCE_LOCALIZE: true |
| 41 | + - run: mv bin\git-lfs.exe git-lfs-x86.exe |
| 42 | + - run: rm -f commands/mancontent_gen.go |
42 | 43 | shell: bash
|
43 |
| - - run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" env -u TMPDIR script/cibuild |
| 44 | + - run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" make GOARCH=amd64 -B |
44 | 45 | shell: bash
|
45 |
| - # We clear the TMPDIR set for Ruby so mktemp and Go use the same |
46 |
| - # volume for temporary files. |
| 46 | + env: |
| 47 | + FORCE_LOCALIZE: true |
| 48 | + - run: mv bin\git-lfs.exe git-lfs-x64.exe |
| 49 | + - run: rm -f commands/mancontent_gen.go |
| 50 | + shell: bash |
| 51 | + - run: GOPATH="$HOME/go" PATH="$HOME/go/bin:$PATH" make GOARCH=arm64 -B |
| 52 | + shell: bash |
| 53 | + env: |
| 54 | + FORCE_LOCALIZE: true |
| 55 | + - run: mv bin\git-lfs.exe git-lfs-arm64.exe |
| 56 | + - run: iscc script\windows-installer\inno-setup-git-lfs-installer.iss |
| 57 | + - run: mkdir -p bin/assets |
| 58 | + shell: bash |
| 59 | + - run: mv *.exe bin/assets |
| 60 | + shell: bash |
| 61 | + - uses: actions/upload-artifact@v4 |
| 62 | + with: |
| 63 | + name: windows-latest |
| 64 | + path: bin/assets |
0 commit comments