Set fetch-depth to 0 for checkout@4 #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build with Buck | |
on: [push] | |
jobs: | |
build: | |
# Not latest, because python3.6 is not available on latest | |
# (https://github.com/actions/setup-python/issues/544), | |
# and SandakovMM/build-with-buck@v2 action requires it | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
fetch-tags: true | |
- name: Prepare artifact store | |
run: mkdir -p ./buck-out/gen | |
- name: Build debian11to12 | |
id: build | |
uses: SandakovMM/build-with-buck@v3 | |
with: | |
command: build | |
target: :debian11to12 | |
- name: Store result | |
uses: actions/upload-artifact@v3 | |
with: | |
name: debian11to12 | |
path: ./buck-out/gen/debian11to12 |