Skip to content

Commit

Permalink
Update CI actions (0.27-maintenance)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilos committed Mar 11, 2022
1 parent 44ef6ae commit 5dc19f4
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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 @@ -35,7 +35,7 @@ jobs:
echo $distro_id
if [[ "$distro_id" == "opensuse-tumbleweed" ]]; then zypper --non-interactive install tar gzip; fi
- 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 @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: install dependencies
run: sudo ./ci/install_dependencies.sh
- name: build and compile
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 @@ -14,7 +14,7 @@ jobs:
shared_libraries: [ON, OFF]

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_linux_special_buils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,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 @@ -57,7 +57,7 @@ jobs:
runs-on: ubuntu-latest

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

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

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

- name: install dependencies
run: |
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
runs-on: ubuntu-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_PR_mac_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
shared_libraries: [ON, OFF]

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 @@ -21,7 +21,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 @@ -34,7 +34,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 @@ -107,7 +107,7 @@ jobs:
run:
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 @@ -164,7 +164,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 @@ -12,7 +12,7 @@ jobs:
runs-on: windows-latest

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

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

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

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

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

- name: install dependencies
run: |
Expand Down Expand Up @@ -115,7 +115,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 @@ -13,7 +13,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 @@ -46,7 +46,7 @@ jobs:
cmake --build . --target 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 @@ -57,7 +57,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 @@ -71,7 +71,7 @@ jobs:
cmake --build . --target 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 @@ -82,7 +82,7 @@ jobs:
name: 'Build Windows Release'
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
Expand All @@ -93,7 +93,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 @@ -135,7 +135,7 @@ jobs:
cmake --build . --target 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 @@ -177,7 +177,7 @@ jobs:
- name: Cleanup old 0.27-nightly
if: env.TAG_NAME == '0.27-nightly'
uses: actions/github-script@v4
uses: actions/github-script@v6
with:
script: |
try{
Expand Down Expand Up @@ -210,11 +210,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

0 comments on commit 5dc19f4

Please sign in to comment.