diff options
| author | 2022-01-26 00:57:53 +0100 | |
|---|---|---|
| committer | 2022-01-26 00:57:53 +0100 | |
| commit | c424e97fd7bfa02b1f14c198624d2912b60b5922 (patch) | |
| tree | b3e7e6c3d7eeb25d4a2b2bcecc58e3106c471932 | |
| parent | 31a353b57152e7b44254853520a06568a4a91dce (diff) | |
| download | libplist-c424e97fd7bfa02b1f14c198624d2912b60b5922.tar.gz libplist-c424e97fd7bfa02b1f14c198624d2912b60b5922.tar.bz2 | |
[github-actions] Make sure to fetch all tags on checkout
| -rw-r--r-- | .github/workflows/build.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ca9354..20b316f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
| @@ -14,6 +14,8 @@ jobs: | |||
| 14 | run: | | 14 | run: | |
| 15 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV | 15 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV |
| 16 | - uses: actions/checkout@v2 | 16 | - uses: actions/checkout@v2 |
| 17 | with: | ||
| 18 | fetch-depth: 0 | ||
| 17 | - name: autogen | 19 | - name: autogen |
| 18 | run: | | 20 | run: | |
| 19 | export PYTHON=python3 | 21 | export PYTHON=python3 |
| @@ -48,6 +50,8 @@ jobs: | |||
| 48 | pip3 install cython | 50 | pip3 install cython |
| 49 | shell: bash | 51 | shell: bash |
| 50 | - uses: actions/checkout@v2 | 52 | - uses: actions/checkout@v2 |
| 53 | with: | ||
| 54 | fetch-depth: 0 | ||
| 51 | - name: autogen | 55 | - name: autogen |
| 52 | run: | | 56 | run: | |
| 53 | SDKDIR=`xcrun --sdk macosx --show-sdk-path` | 57 | SDKDIR=`xcrun --sdk macosx --show-sdk-path` |
| @@ -124,6 +128,8 @@ jobs: | |||
| 124 | echo "dest=$dest" >> $GITHUB_ENV | 128 | echo "dest=$dest" >> $GITHUB_ENV |
| 125 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV | 129 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV |
| 126 | - uses: actions/checkout@v2 | 130 | - uses: actions/checkout@v2 |
| 131 | with: | ||
| 132 | fetch-depth: 0 | ||
| 127 | - name: autogen | 133 | - name: autogen |
| 128 | run: ./autogen.sh CC=gcc CXX=g++ --enable-debug | 134 | run: ./autogen.sh CC=gcc CXX=g++ --enable-debug |
| 129 | - name: make | 135 | - name: make |
