forked from openvinotoolkit/openvino_tokenizers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Use commit hashes as action versions (openvinotoolkit#271)
* use commit hashes * decrease version * update Trivy to v0.25.0 * update the rest actions * ашчув ccache-action version
- Loading branch information
Showing
5 changed files
with
62 additions
and
62 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ jobs: | |
|
||
- name: Upload openvino package | ||
if: steps.openvino_download.outcome == 'success' | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1 | ||
with: | ||
name: openvino_package | ||
path: openvino_package.tar.gz | ||
|
@@ -80,7 +80,7 @@ jobs: | |
sudo apt-get install --assume-yes --no-install-recommends git ca-certificates | ||
- name: Clone OpenVINO | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
repository: 'openvinotoolkit/openvino' | ||
path: ${{ env.OPENVINO_REPO }} | ||
|
@@ -96,7 +96,7 @@ jobs: | |
sudo -E ${OPENVINO_REPO}/install_build_dependencies.sh | ||
- name: Setup Python ${{ env.PYTHON_VERSION }} | ||
uses: actions/setup-python@v5 | ||
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
cache: 'pip' | ||
|
@@ -111,7 +111,7 @@ jobs: | |
# | ||
|
||
- name: Setup ccache | ||
uses: hendrikmuhs/[email protected] | ||
uses: hendrikmuhs/ccache-action@ed74d11c0b343532753ecead8a951bb09bb34bc9 # v1.2.14 | ||
with: | ||
max-size: "2000M" | ||
# Should save cache only if run in the master branch of the base repo | ||
|
@@ -176,7 +176,7 @@ jobs: | |
|
||
- name: Upload openvino package | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1 | ||
with: | ||
name: openvino_package | ||
path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz | ||
|
@@ -208,12 +208,12 @@ jobs: | |
|
||
steps: | ||
- name: Clone Openvino tokenizers | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
path: ${{ env.OPENVINO_TOKENIZERS_REPO }} | ||
|
||
- name: Clone Openvino | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
repository: 'openvinotoolkit/openvino' | ||
path: ${{ env.OPENVINO_REPO }} | ||
|
@@ -222,7 +222,7 @@ jobs: | |
install_build_dependencies.sh | ||
- name: Download OpenVINO package | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: openvino_package | ||
path: ${{ env.INSTALL_DIR }} | ||
|
@@ -273,7 +273,7 @@ jobs: | |
|
||
- name: Upload openvino tokenizers package | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1 | ||
with: | ||
name: openvino_tokenizers_cpack_${{ matrix.build_fast_tokenizers }}_${{ matrix.build_type }} | ||
path: ${{ env.BUILD_DIR }}/*.tar.gz | ||
|
@@ -302,12 +302,12 @@ jobs: | |
|
||
steps: | ||
- name: Clone Openvino tokenizers | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
path: ${{ env.OPENVINO_TOKENIZERS_REPO }} | ||
|
||
- name: Clone Openvino | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
repository: 'openvinotoolkit/openvino' | ||
path: ${{ env.OPENVINO_REPO }} | ||
|
@@ -316,13 +316,13 @@ jobs: | |
install_build_dependencies.sh | ||
- name: Setup Python ${{ env.PYTHON_VERSION }} | ||
uses: actions/setup-python@v5 | ||
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
cache: 'pip' | ||
|
||
- name: Download OpenVINO package | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: openvino_package | ||
path: ${{ env.INSTALL_DIR }} | ||
|
@@ -361,7 +361,7 @@ jobs: | |
|
||
- name: Upload openvino tokenizers wheel | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1 | ||
with: | ||
name: openvino_tokenizers_wheel_${{ matrix.build_fast_tokenizers }} | ||
path: ${{ env.BUILD_DIR }}/*.whl | ||
|
@@ -388,24 +388,24 @@ jobs: | |
|
||
steps: | ||
- name: Clone Openvino tokenizers sources and tests | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
path: ${{ env.OPENVINO_TOKENIZERS_REPO }} | ||
|
||
- name: Setup Python ${{ env.PYTHON_VERSION }} | ||
uses: actions/setup-python@v5 | ||
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
cache: 'pip' | ||
|
||
- name: Download tokenizers package | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: openvino_tokenizers_wheel_${{ matrix.build_fast_tokenizers }} | ||
path: ${{ env.INSTALL_DIR }}/ov_tokenizers | ||
|
||
- name: Download OpenVINO package | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: openvino_package | ||
path: ${{ env.INSTALL_DIR }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
|
||
- name: Upload openvino package | ||
if: steps.openvino_download.outcome == 'success' | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1 | ||
with: | ||
name: openvino_package | ||
path: openvino_package.tar.gz | ||
|
@@ -72,7 +72,7 @@ jobs: | |
|
||
steps: | ||
- name: Clone OpenVINO | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
repository: 'openvinotoolkit/openvino' | ||
path: ${{ env.OPENVINO_REPO }} | ||
|
@@ -87,7 +87,7 @@ jobs: | |
run: brew install coreutils ninja | ||
|
||
- name: Setup Python ${{ env.PYTHON_VERSION }} | ||
uses: actions/setup-python@v5 | ||
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
cache: 'pip' | ||
|
@@ -102,7 +102,7 @@ jobs: | |
# | ||
|
||
- name: Setup ccache | ||
uses: hendrikmuhs/[email protected] | ||
uses: hendrikmuhs/ccache-action@ed74d11c0b343532753ecead8a951bb09bb34bc9 # v1.2.14 | ||
with: | ||
max-size: "2000M" | ||
# Should save cache only if run in the master branch of the base repo | ||
|
@@ -169,7 +169,7 @@ jobs: | |
|
||
- name: Upload openvino package | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1 | ||
with: | ||
name: openvino_package | ||
path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz | ||
|
@@ -201,12 +201,12 @@ jobs: | |
|
||
steps: | ||
- name: Clone Openvino tokenizers | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
path: ${{ env.OPENVINO_TOKENIZERS_REPO }} | ||
|
||
- name: Download OpenVINO package | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: openvino_package | ||
path: ${{ env.INSTALL_DIR }} | ||
|
@@ -252,7 +252,7 @@ jobs: | |
|
||
- name: Upload openvino tokenizers package | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1 | ||
with: | ||
name: openvino_tokenizers_cpack_${{ matrix.build_fast_tokenizers }}_${{ matrix.build_type }} | ||
path: ${{ env.BUILD_DIR }}/*.tar.gz | ||
|
@@ -278,12 +278,12 @@ jobs: | |
|
||
steps: | ||
- name: Clone Openvino tokenizers | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
path: ${{ env.OPENVINO_TOKENIZERS_REPO }} | ||
|
||
- name: Clone Openvino | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
repository: 'openvinotoolkit/openvino' | ||
path: ${{ env.OPENVINO_REPO }} | ||
|
@@ -292,13 +292,13 @@ jobs: | |
install_build_dependencies.sh | ||
- name: Setup Python ${{ env.PYTHON_VERSION }} | ||
uses: actions/setup-python@v5 | ||
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
cache: 'pip' | ||
|
||
- name: Download OpenVINO package | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: openvino_package | ||
path: ${{ env.INSTALL_DIR }} | ||
|
@@ -335,7 +335,7 @@ jobs: | |
|
||
- name: Upload openvino tokenizers wheel | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4.4.1 | ||
with: | ||
name: openvino_tokenizers_wheel | ||
path: ${{ env.BUILD_DIR }}/*.whl | ||
|
@@ -359,24 +359,24 @@ jobs: | |
|
||
steps: | ||
- name: Clone Openvino tokenizers sources and tests | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
path: ${{ env.OPENVINO_TOKENIZERS_REPO }} | ||
|
||
- name: Setup Python ${{ env.PYTHON_VERSION }} | ||
uses: actions/setup-python@v5 | ||
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
cache: 'pip' | ||
|
||
- name: Download tokenizers package | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: openvino_tokenizers_wheel | ||
path: ${{ env.INSTALL_DIR }}/ov_tokenizers | ||
|
||
- name: Download OpenVINO package | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: openvino_package | ||
path: ${{ env.INSTALL_DIR }} | ||
|
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
Oops, something went wrong.