Skip to content

Commit

Permalink
update github upload-artifact version to v4 in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bab2min committed Sep 15, 2024
1 parent 69a6b4f commit 278ddcb
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/arm64_centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
KIWI_ARCH_TYPE=balanced ./build/kiwi-cli-* -m ./ModelGenerator -e -o test.out kowiki1000.txt
KIWI_ARCH_TYPE=neon ./build/kiwi-cli-* -m ./ModelGenerator -e -o test.out kowiki1000.txt
- name: Archive binaries
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Artifacts ${{ matrix.name }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/centos5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
./build/kiwi-evaluator -m ./ModelGenerator eval_data/*.txt --sbg -o eval_results/
- run: tar -zcvf arts.tgz build/*kiwi* build/test/*kiwi* eval_results/*.txt
- name: Archive binaries
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: Artifacts Centos5
path: arts.tgz
2 changes: 1 addition & 1 deletion .github/workflows/centos6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
./build/kiwi-evaluator -m ./ModelGenerator eval_data/*.txt --sbg -o eval_results/
- run: tar -zcvf arts.tgz build/*kiwi* build/test/*kiwi* eval_results/*.txt build/bindings/java/*.jar
- name: Archive binaries
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: Artifacts Centos6
path: arts.tgz
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
KIWI_ARCH_TYPE=neon ./build/kiwi-cli-* -m ./ModelGenerator -e -o test.out --typos 6 kowiki1000.txt
fi
- name: Archive binaries
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Artifacts ${{ matrix.name }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ppc64le_centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
cp -r build /artifacts/
cp -r eval_results /artifacts/
- name: Archive binaries
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Artifacts ${{ matrix.name }}
path: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
cp -r ../include/kiwi include/
tar -zcvf ../asset.tgz include/ lib/ bin/
- name: Archive binaries
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: asset_Centos5
path: asset.tgz
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: asset_Centos5
path: arts
Expand Down Expand Up @@ -91,14 +91,14 @@ jobs:
cp -r ../include/kiwi include/
tar -zcvf ../asset.tgz include/ lib/ bin/
- name: Archive binaries
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: asset_Centos6
path: asset.tgz
- run: |
mv build/bindings/java/kiwi-java*.jar kiwi-java.jar
- name: Archive jar binaries
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: jar_Centos6
path: kiwi-java.jar
Expand All @@ -114,7 +114,7 @@ jobs:
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: asset_Centos6
path: arts
Expand All @@ -127,7 +127,7 @@ jobs:
asset_path: arts/asset.tgz
asset_name: kiwi_lnx_x86_64_${{ steps.get_release.outputs.tag_name }}.tgz
asset_content_type: application/octet-stream
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: jar_Centos6
path: arts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
KIWI_ARCH_TYPE=avx512bw ./build/kiwi-cli-* -m ./ModelGenerator -e -o test.out --sbg kowiki1000.txt
KIWI_ARCH_TYPE=avx512bw ./build/kiwi-cli-* -m ./ModelGenerator -e -o test.out --typos 6 kowiki1000.txt
- name: Archive binaries
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Artifacts ${{ matrix.name }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
.\build\Release\kiwi-evaluator.exe -m .\ModelGenerator (Get-ChildItem eval_data\*.txt | Select-Object -Expand FullName) -o eval_results\
.\build\Release\kiwi-evaluator.exe -m .\ModelGenerator --sbg (Get-ChildItem eval_data\*.txt | Select-Object -Expand FullName) -o eval_results\
- name: Archive binaries
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Artifacts ${{ matrix.os }} ${{ matrix.arch }}bit
path: |
Expand Down

0 comments on commit 278ddcb

Please sign in to comment.