Skip to content

Commit c2b7757

Browse files
committed
Add build folder to .gitngnore., update CI workflows.
1 parent 46bfa66 commit c2b7757

4 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
TARGET_ARCH: ${{ matrix.TARGET_ARCH }}
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323

2424
- name: Build ${{ matrix.BUILD_TYPE }} ${{ matrix.TARGET_ARCH }}
2525
run: tooling/build-in-docker.sh ${{ env.BUILD_TYPE }}
@@ -37,7 +37,7 @@ jobs:
3737
cp src/hooks/libapprun_hooks.so ${{runner.workspace}}/dist/libapprun_hooks-$BUILD_TYPE-$TARGET_ARCH.so
3838
3939
- name: Upload Artifacts ${{ env.TARGET_ARCH }}
40-
uses: actions/upload-artifact@v2.1.4
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: artifacts
43-
path: ${{runner.workspace}}/dist/*
43+
path: ${{runner.workspace}}/dist/*

.github/workflows/pre-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
TARGET_ARCH: ${{ matrix.TARGET_ARCH }}
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121

2222
- name: Build ${{ matrix.BUILD_TYPE }} ${{ matrix.TARGET_ARCH }}
2323
run: tooling/build-in-docker.sh ${{ env.BUILD_TYPE }}
@@ -35,7 +35,7 @@ jobs:
3535
cp src/hooks/libapprun_hooks.so ${{runner.workspace}}/dist/libapprun_hooks-$BUILD_TYPE-$TARGET_ARCH.so
3636
3737
- name: Upload Artifacts ${{ env.TARGET_ARCH }}
38-
uses: actions/upload-artifact@v2.1.4
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: artifacts
4141
path: ${{runner.workspace}}/dist/*
@@ -45,7 +45,7 @@ jobs:
4545
needs: build
4646
steps:
4747
- name: Download artifacts from build job
48-
uses: actions/download-artifact@v2
48+
uses: actions/download-artifact@v4
4949
with:
5050
name: artifacts
5151

@@ -58,4 +58,4 @@ jobs:
5858
prerelease: true
5959
draft: false
6060
files: ./*
61-
repo_token: ${{ secrets.GITHUB_TOKEN }}
61+
repo_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tagged-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
TARGET_ARCH: ${{ matrix.TARGET_ARCH }}
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@4
2121

2222
- name: Build ${{ matrix.BUILD_TYPE }} ${{ matrix.TARGET_ARCH }}
2323
run: tooling/build-in-docker.sh ${{ env.BUILD_TYPE }}
@@ -35,7 +35,7 @@ jobs:
3535
cp src/hooks/libapprun_hooks.so ${{runner.workspace}}/dist/libapprun_hooks-$BUILD_TYPE-$TARGET_ARCH.so
3636
3737
- name: Upload Artifacts ${{ env.TARGET_ARCH }}
38-
uses: actions/upload-artifact@v2.1.4
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: artifacts
4141
path: ${{runner.workspace}}/dist/*
@@ -45,12 +45,12 @@ jobs:
4545
needs: build
4646
steps:
4747
- name: Download artifacts from build job
48-
uses: actions/download-artifact@v2
48+
uses: actions/download-artifact@v4
4949
with:
5050
name: artifacts
5151

5252
- uses: "marvinpinto/action-automatic-releases@latest"
5353
with:
5454
repo_token: "${{ secrets.GITHUB_TOKEN }}"
5555
prerelease: false
56-
files: ./*
56+
files: ./*

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
cmake-build-*
2-
.idea
2+
.idea
3+
build/

0 commit comments

Comments
 (0)