Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/scripts/create_debian.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/bash

version=$1
architecture=$(dpkg --print-architecture)

source_code=$(basename "$PWD")

# Use sudo only if not running as root
Expand All @@ -18,7 +16,6 @@ $SUDO apt-get install -y build-essential make devscripts debhelper
#Replace placeholders inside the debian template files
sed -i "s/@VERSION@/$version-1/" packaging/debian/changelog
sed -i "s/@DATE@/$(date -R)/" packaging/debian/changelog
sed -i "s/@ARCHITECTURE@/$architecture/" packaging/debian/control

cp -r packaging/debian .

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
can-create-release: ${{ steps.set_version.outputs.can_create_release}}
steps:
- name: Checkout code repository
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Set app version
id: set_version
run: |
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:

steps:
- name: Checkout code repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: ${{env.APP_NAME}}

Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
ls -la ./artifacts/

- name: Upload debian artifacts to github
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{env.APP_NAME}}-${{matrix.distro}}-${{matrix.architecture}}
path: |
Expand All @@ -151,7 +151,7 @@ jobs:
working-directory: ${{env.APP_NAME}}
steps:
- name: Checkout code repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: ${{env.APP_NAME}}

Expand All @@ -174,7 +174,7 @@ jobs:
ls -la artifacts/

- name: Upload debian artifacts to github
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{env.APP_NAME}}-ubuntu
path: |
Expand All @@ -195,7 +195,7 @@ jobs:
if: ${{needs.identify_version.outputs.can-create-release == 'true'}}
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
merge-multiple: true
- name: Release
Expand Down
2 changes: 1 addition & 1 deletion packaging/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Homepage: https://github.com/analogdevicesinc/fru_tools
Rules-Requires-Root: no

Package: fru-tools
Architecture: @ARCHITECTURE@
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Tools to display/manipulate FMC FRU info
Expand Down
Loading