Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nightly_Linux_distributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- name: Install dependencies
run: ./ci/install_dependencies.sh
- name: Build and install
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on_PR_linux_fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- name: Install dependencies
run: |
sudo ./ci/install_dependencies.sh
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/on_PR_linux_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down Expand Up @@ -72,6 +74,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: jirutka/setup-alpine@v1
with:
arch: ${{matrix.arch}}
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/on_PR_linux_special_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- uses: actions/checkout@v5
with:
fetch-depth: 2
persist-credentials: false
# Trying to deal with warning: -> Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0

- name: Install dependencies
Expand Down Expand Up @@ -65,6 +66,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down Expand Up @@ -101,6 +104,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down Expand Up @@ -135,6 +140,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand All @@ -157,6 +164,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/on_PR_linux_staticAnalysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- uses: actions/checkout@v5
with:
fetch-depth: 2
persist-credentials: false
# Trying to deal with warning: -> Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0

- name: Install dependencies
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on_PR_mac_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on_PR_mac_special_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/on_PR_meson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
deps: ['enabled', 'disabled']
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: egor-tensin/setup-gcc@v1
with:
version: ${{matrix.cxx}}
Expand All @@ -37,6 +39,8 @@ jobs:
deps: ['enabled', 'disabled']
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: egor-tensin/setup-clang@v1
with:
version: ${{matrix.cxx}}
Expand All @@ -63,6 +67,8 @@ jobs:
platform: ['x64', 'x86']
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install packages
run: |
Expand All @@ -85,6 +91,8 @@ jobs:
deps: ['forcefallback', 'default']
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install packages
run: |
Expand Down Expand Up @@ -117,6 +125,8 @@ jobs:
shell: msys2 {0}
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- uses: msys2/setup-msys2@v2
with:
Expand All @@ -143,6 +153,8 @@ jobs:
shell: msys2 {0}
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: msys2/setup-msys2@v2
with:
msystem: 'MSYS'
Expand All @@ -165,6 +177,8 @@ jobs:
deps: ['enabled', 'disabled']
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install packages
run: |
Expand All @@ -179,6 +193,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: vmactions/freebsd-vm@v1
with:
prepare: |
Expand All @@ -191,6 +207,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: vmactions/omnios-vm@v1
with:
prepare: |
Expand All @@ -203,6 +221,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- name: Install packages
run: |
sudo apt install -y meson
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/on_PR_windows_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Set up Visual Studio shell
uses: ilammy/msvc-dev-cmd@v1
Expand All @@ -41,6 +43,7 @@ jobs:
with:
path: ${{github.workspace}}/conanCache
key: ${{runner.os}}-${{matrix.platform}}-${{matrix.build_type}}-Shared${{matrix.shared_libraries}}-${{ hashFiles('conanfile.py') }}
lookup-only: true

- name: Install Conan & Common config
run: |
Expand Down Expand Up @@ -94,6 +97,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Set up MSYS2
uses: msys2/setup-msys2@v2
Expand Down Expand Up @@ -150,6 +155,8 @@ jobs:
- run: git config --global core.autocrlf input
shell: pwsh
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Set up Cygwin
uses: cygwin/cygwin-install-action@v6
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/on_push_BasicWinLinMac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Set up Visual Studio shell
uses: ilammy/msvc-dev-cmd@v1
Expand Down Expand Up @@ -57,6 +59,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down Expand Up @@ -91,6 +95,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on_push_ExtraJobsForMain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on_push_clang_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: DoozyX/[email protected]
with:
source: '.'
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- { os: ubuntu-22.04-arm, arch: arm64 }
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down Expand Up @@ -68,6 +70,8 @@ jobs:
- { os: macos-14, arch: arm64 }
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install dependencies
run: |
Expand Down Expand Up @@ -110,6 +114,8 @@ jobs:
- { os: windows-2022, arch: x64 }
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- name: Set up Visual Studio shell
uses: ilammy/msvc-dev-cmd@v1
Expand All @@ -124,6 +130,7 @@ jobs:
with:
path: ${{github.workspace}}/conanCache
key: ${{runner.os}}-release-win-${{ hashFiles('conanfile.py') }}
lookup-only: true

- name: Install Conan & Common config
run: |
Expand Down Expand Up @@ -162,14 +169,16 @@ jobs:
steps:

- if: github.event_name == 'workflow_dispatch'
run: echo "TAG_NAME=${{ github.event.inputs.tag_name }}" >> $GITHUB_ENV
run: echo "TAG_NAME=${GITHUB_EVENT_INPUTS_TAG_NAME}" >> $GITHUB_ENV
env:
GITHUB_EVENT_INPUTS_TAG_NAME: ${{ github.event.inputs.tag_name }}

- if: github.event_name == 'schedule'
run: echo 'TAG_NAME=nightly' >> $GITHUB_ENV

- if: github.event_name == 'push'
run: |
TAG_NAME=${{ github.ref }}
TAG_NAME=${GITHUB_REF}
echo "TAG_NAME=${TAG_NAME#refs/tags/}" >> $GITHUB_ENV

- if: env.TAG_NAME == 'nightly'
Expand All @@ -183,7 +192,7 @@ jobs:
- if: env.TAG_NAME != 'nightly'
run: |
echo 'BODY<<EOF' >> $GITHUB_ENV
echo '## Exiv2 Release ${{ env.TAG_NAME }}' >> $GITHUB_ENV
echo '## Exiv2 Release ${TAG_NAME}' >> $GITHUB_ENV
echo 'See [ChangeLog](doc/ChangeLog) for more information about the changes in this release.' >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV

Expand Down
Loading