Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI actions #2143

Merged
merged 1 commit into from
Mar 11, 2022
Merged
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: 1 addition & 1 deletion .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly_Linux_distributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
CMAKE_FLAGS: -DEXIV2_TEAM_EXTRA_WARNINGS=OFF -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=OFF -DEXIV2_ENABLE_BMFF=ON -DEXIV2_TEAM_WARNINGS_AS_ERRORS=OFF -DEXIV2_ENABLE_PNG=ON -DCMAKE_INSTALL_PREFIX=install

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: install dependencies
run: ./ci/install_dependencies.sh
- name: build and compile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_PR_linux_fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: install dependencies
run: |
sudo ./ci/install_dependencies.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_PR_linux_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
shared_libraries: [ON, OFF]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: install dependencies
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/on_PR_linux_special_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
# Trying to deal with warning: -> Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: install dependencies
run: |
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: install dependencies
run: |
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: install dependencies
run: |
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
# Trying to deal with warning: -> Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
pvs-studio-analyzer analyze -l PVS_license.lic -o pvsStudio.log -j4
plog-converter -a GA:1,2 -d V1042 -t fullhtml pvsStudio.log -o pvsReportHtml

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: static_analysis
path: build/pvsReportHtml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_PR_mac_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
shared_libraries: [ON, OFF]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_PR_mac_special_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: install dependencies
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/on_PR_windows_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
platform: [ x64, x86 ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
Expand All @@ -38,7 +38,7 @@ jobs:
version: 1.10.0

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v3
with:
python-version: 3.7

Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
shell: msys2 {0}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up MSYS2
uses: msys2/setup-msys2@v2
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
# Make sure we don't check out scripts using Windows CRLF line endings
- run: git config --global core.autocrlf input
shell: pwsh
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Cygwin
uses: egor-tensin/setup-cygwin@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/on_push_BasicWinLinMac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: windows-2022

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master
Expand All @@ -29,7 +29,7 @@ jobs:
arch: x64

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v3
with:
python-version: 3.7

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: install dependencies
run: |
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_push_ExtraJobsForMain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: install dependencies
run: |
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: 'Build Linux Release'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install dependencies
run: |
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
cmake --build . -t package
tree -L 3

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: exiv2-linux64
path: ./build/exiv2-*.tar.gz
Expand All @@ -56,7 +56,7 @@ jobs:
name: 'Build macOS Release'
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install dependencies
run: |
Expand All @@ -74,7 +74,7 @@ jobs:
cmake --build . -t package
tree -L 3

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: exiv2-macos
path: ./build/exiv2-*.tar.gz
Expand All @@ -85,7 +85,7 @@ jobs:
name: 'Build Windows Release'
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
Expand All @@ -96,7 +96,7 @@ jobs:
version: 1.10.0

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.9

Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
cmake --build . -t package
tree -L 3

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: exiv2-win
path: ./build/exiv2-*.zip
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:

- name: Cleanup old nightly
if: env.TAG_NAME == 'nightly'
uses: actions/github-script@v4
uses: actions/github-script@v6
with:
script: |
try{
Expand Down Expand Up @@ -202,11 +202,11 @@ jobs:
console.log( "Failed with error\n", error);
}

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
- name: List downloaded files
run: tree -L 3

- uses: softprops/action-gh-release@v0.1.8
- uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down