File tree Expand file tree Collapse file tree 1 file changed +28
-5
lines changed Expand file tree Collapse file tree 1 file changed +28
-5
lines changed Original file line number Diff line number Diff line change 1111
1212env :
1313 APP_NAME : filefind
14- # Note: github.ref_name will include the 'v' for tags, e.g., 'v1.1.3'
15- # The version step below will handle removing it for the package version number.
1614 VERSION : ${{ github.ref_name }}
1715
1816permissions :
@@ -131,9 +129,6 @@ jobs:
131129 Homepage: https://github.com/NDXDeveloper/FileFind
132130 EOF
133131
134- # The postinst and prerm scripts are removed as they are no longer needed.
135- # dpkg triggers will handle icon cache and desktop database updates automatically.
136-
137132 - name : Build DEB package
138133 run : |
139134 dpkg-deb --build package
@@ -337,6 +332,34 @@ jobs:
337332 src/filefind.exe
338333 retention-days : 30
339334
335+ create-release :
336+ runs-on : ubuntu-latest
337+ needs : [build-linux, build-windows]
338+ if : github.event_name == 'release' || startsWith(github.ref, 'refs/tags/')
339+
340+ steps :
341+ - name : Checkout code
342+ uses : actions/checkout@v4
343+
344+ - name : Download all artifacts
345+ uses : actions/download-artifact@v4
346+
347+ - name : Prepare release assets
348+ run : |
349+ mkdir -p release-assets
350+
351+ # Copy Linux builds
352+ cp linux-builds/*.deb release-assets/
353+ cp linux-builds/*.tar.gz release-assets/
354+
355+ # Copy Windows builds
356+ cp windows-builds/*.exe release-assets/
357+ cp windows-builds/*.zip release-assets/
358+
359+ # Create checksums
360+ cd release-assets
361+ sha256sum * > checksums.txt
362+
340363 - name : Create Release
341364 uses : softprops/action-gh-release@v1
342365 with :
You can’t perform that action at this time.
0 commit comments