-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(workflows/release): Sync actions/upload-artifact and actions/download-artifact versions (v3) * fix(workflows/ci): Bumps actions/checkout@v2 to actions/checkout@v4
- Loading branch information
1 parent
31f593f
commit 86b7165
Showing
2 changed files
with
16 additions
and
10 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 |
---|---|---|
|
@@ -20,13 +20,14 @@ on: | |
- cron: "0 0 * * 1-5" | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
preps: | ||
name: Preparation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Clone this repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Environment setup | ||
id: env | ||
shell: bash | ||
|
@@ -66,13 +67,16 @@ jobs: | |
needs: preps | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Clone this repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Make packages | ||
shell: bash | ||
run: | | ||
mkdir -p build && cd build | ||
cmake ../install -DCPACK_PACKAGE_VERSION=${{ needs.preps.outputs.PKG_VERSION }} | ||
cmake --build . --target package | ||
- name: Packaging | ||
id: package | ||
shell: bash | ||
|
@@ -91,8 +95,9 @@ jobs: | |
zip ${DEB_PKG_NAME} *.deb | ||
echo "Packaging ${RPM_PKG_NAME}:" | ||
zip ${RPM_PKG_NAME} *.rpm | ||
- name: "Upload packages" | ||
uses: actions/upload-artifact@master | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Upload packages | ||
path: | | ||
|
@@ -107,13 +112,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download result of previous builds | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
path: ARTIFACTS | ||
|
||
- name: Publish as github release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: ARTIFACTS/*/*.* | ||
|
||
- name: Publish to download.eclipse.org/zenoh | ||
env: | ||
SSH_TARGET: [email protected] | ||
|