Skip to content

Commit 2542093

Browse files
committed
Fix workflow
1 parent 892c6fa commit 2542093

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,29 @@ jobs:
2323
run: |
2424
docker compose -f docker/docker-compose.yml build
2525
docker compose -f docker/docker-compose.yml up -d
26+
27+
- name: Fetch built binaries
28+
run: |
29+
sudo chmod +x scripts/fetch-builds.sh
30+
scripts/fetch-builds.sh
2631
2732
- name: Upload Debian package
2833
uses: actions/upload-artifact@v4
2934
with:
3035
name: apphatch-debian-${{ github.ref_name }}
31-
path: target/deb/*.deb
36+
path: target/*.deb
3237

3338
- name: Upload RPM package
3439
uses: actions/upload-artifact@v4
3540
with:
3641
name: apphatch-fedora-${{ github.ref_name }}
37-
path: target/rpm/*.rpm
42+
path: target/*.rpm
3843

3944
- name: Upload Arch package
4045
uses: actions/upload-artifact@v4
4146
with:
4247
name: apphatch-arch-${{ github.ref_name }}
43-
path: target/aur/*.pkg.tar.zst
48+
path: target/*.pkg.tar.zst
4449

4550
release:
4651
needs: build

scripts/fetch-builds.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ copy_aur_artifacts() {
6969
fi
7070
}
7171

72-
copy_artifacts "target/debian/*.deb" "Debian packages"
72+
copy_artifacts "target/deb/*.deb" "Debian packages"
7373

74-
copy_aur_artifacts "target/cargo-aur/*.pkg.tar.zst" "AUR packages"
74+
copy_aur_artifacts "target/aur/*.pkg.tar.zst" "AUR packages"
7575

76-
copy_artifacts "target/generate-rpm/*.rpm" "RPM packages"
76+
copy_artifacts "target/rpm/*.rpm" "RPM packages"
7777

7878
echo ""
7979
echo "Build artifacts have been copied to: $TARGET_DIR"

0 commit comments

Comments
 (0)