From 8aafb9641045704a8a607b620b08b1df9daae528 Mon Sep 17 00:00:00 2001 From: Michel Promonet Date: Wed, 11 Sep 2024 18:13:57 +0200 Subject: [PATCH] add fetch-tag --- .github/workflows/cpp-cross-linux-arm.yml | 2 ++ .github/workflows/cpp-docker.yml | 2 ++ .github/workflows/cpp-linux.yml | 2 ++ .github/workflows/cpp-macos.yml | 3 +++ .github/workflows/cpp-windows.yml | 2 ++ .github/workflows/deploy-docker.yml | 3 ++- 6 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cpp-cross-linux-arm.yml b/.github/workflows/cpp-cross-linux-arm.yml index 37be3658..27d85d86 100644 --- a/.github/workflows/cpp-cross-linux-arm.yml +++ b/.github/workflows/cpp-cross-linux-arm.yml @@ -45,6 +45,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-tags: true - name: pkg run: | diff --git a/.github/workflows/cpp-docker.yml b/.github/workflows/cpp-docker.yml index 87dc0da6..c8dd292f 100644 --- a/.github/workflows/cpp-docker.yml +++ b/.github/workflows/cpp-docker.yml @@ -36,6 +36,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-tags: true - name: Build an image from Dockerfile run: | diff --git a/.github/workflows/cpp-linux.yml b/.github/workflows/cpp-linux.yml index 06503da3..d4250d77 100644 --- a/.github/workflows/cpp-linux.yml +++ b/.github/workflows/cpp-linux.yml @@ -12,6 +12,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-tags: true - name: pkg run: sudo apt-get update && sudo apt-get install -y --no-install-recommends g++ autoconf automake libtool xz-utils libasound2-dev libpulse-dev libgtk-3-dev cmake p7zip-full diff --git a/.github/workflows/cpp-macos.yml b/.github/workflows/cpp-macos.yml index 03cc011f..c6291665 100644 --- a/.github/workflows/cpp-macos.yml +++ b/.github/workflows/cpp-macos.yml @@ -12,6 +12,9 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-tags: true + - name: pkg run: brew install cmake p7zip gcc openssl rtmpdump && brew link --force openssl diff --git a/.github/workflows/cpp-windows.yml b/.github/workflows/cpp-windows.yml index 1eab381a..87163043 100644 --- a/.github/workflows/cpp-windows.yml +++ b/.github/workflows/cpp-windows.yml @@ -12,6 +12,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-tags: true - name: pkg shell: cmd diff --git a/.github/workflows/deploy-docker.yml b/.github/workflows/deploy-docker.yml index 148314fb..605bbb59 100644 --- a/.github/workflows/deploy-docker.yml +++ b/.github/workflows/deploy-docker.yml @@ -8,7 +8,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-tags: true + - name: Login to GitHub Container Registry uses: docker/login-action@v3