Skip to content

Commit 2112150

Browse files
Copilotalvarolopez
andcommitted
build: Fix repository references and update workflow dependencies
Co-authored-by: alvarolopez <[email protected]>
1 parent 11bade5 commit 2112150

File tree

3 files changed

+10
-17
lines changed

3 files changed

+10
-17
lines changed

.github/workflows/packaging.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
python-version: ["3.10", "3.11", "3.12", "3.13"]
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Set up Python ${{ matrix.python-version }}
2121
uses: actions/setup-python@v5
@@ -42,7 +42,7 @@ jobs:
4242
python-version: 3.13
4343

4444
- name: Get cASO repo
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646
with:
4747
ref: ${{ github.ref_name }}
4848

@@ -85,10 +85,10 @@ jobs:
8585
python-version: 3.13
8686

8787
- name: Get cASO repo
88-
uses: actions/checkout@v3
88+
uses: actions/checkout@v4
8989
with:
9090
ref: ${{ github.ref_name }}
91-
91+
9292
- name: Copy debian file into the correct place for the build
9393
run: cp -r packaging/debian debian
9494

@@ -119,12 +119,6 @@ jobs:
119119
- name: Now build package
120120
run: dpkg-buildpackage -b
121121

122-
- name: debug
123-
run: ls
124-
125-
- name: debug
126-
run: ls ..
127-
128122
- name: Update DEB artifacts to release
129123
if: github.event_name == 'release'
130124
uses: AButler/[email protected]
@@ -145,9 +139,8 @@ jobs:
145139
python-version: 3.12
146140

147141
- name: Get cASO repo
148-
uses: actions/checkout@v3
142+
uses: actions/checkout@v4
149143
with:
150-
repository: IFCA/caso
151144
ref: ${{ github.ref_name }}
152145

153146
- name: Write release version
@@ -160,9 +153,6 @@ jobs:
160153
with:
161154
name: caso-${{ env.VERSION }}.tar.gz
162155
path: dist
163-
164-
- name: debug
165-
run: ls
166156

167157
- name: Build RPM package
168158
id: rpm
@@ -177,3 +167,4 @@ jobs:
177167
with:
178168
files: '${{ steps.rpm.outputs.rpm_dir_path }}/*/*rpm'
179169
repo-token: ${{ secrets.GITHUB_TOKEN }}
170+

packaging/debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: python3-caso
22
Section: net
33
Priority: extra
44
Maintainer: Alvaro Lopez Garcia <[email protected]>
5-
Homepage: https://github.com/IFCA/caso
5+
Homepage: https://github.com/IFCA-Advanced-Computing/caso
66
Build-Depends:
77
debhelper (>= 7.0.50),
88
dh-python,

packaging/redhat/caso.spec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
Name: caso
2+
Version: %{version}
23
Release: 1%{?dist}
34
Summary: cASO is an OpenStack Accounting extractor
45

56
License: ASL 2.0
6-
URL: https://github.com/IFCA/caso
7+
URL: https://github.com/IFCA-Advanced-Computing/caso
8+
Source0: https://github.com/IFCA-Advanced-Computing/caso/archive/v%{version}/caso-%{version}.tar.gz
79

810
BuildArch: noarch
911
BuildRequires: python3-devel

0 commit comments

Comments
 (0)