Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 93c10b5

Browse files
committedNov 6, 2024
ci: release a file with packages sums 'sums.txt' with releases
1 parent 170b425 commit 93c10b5

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed
 

‎.github/workflows/ci.yml

+17-8
Original file line numberDiff line numberDiff line change
@@ -305,27 +305,35 @@ jobs:
305305
runs-on: ubuntu-latest
306306

307307
steps:
308-
- name: Download artifacts
309-
uses: actions/download-artifact@v4
310-
311308
- name: Fancy Checkout
312309
uses: sithlord48/fancy-checkout@v1.0.0
313310

314311
- name: Get version
315-
if: (github.ref == 'refs/heads/master') && !(contains(github.ref, '/tags/v'))
316312
uses: ./.github/actions/get-version
317313

314+
- name: Download artifacts
315+
uses: actions/download-artifact@v4
316+
317+
- name: Generate package checksums
318+
id: generate_notes
319+
shell: bash
320+
run: |
321+
mv $GITHUB_WORKSPACE/package-*/deskflow-* .
322+
rm -rf $GITHUB_WORKSPACE/package-*
323+
echo "Build: ${{env.DESKFLOW_VERSION }} > sums.txt
324+
sha256sum deskflow-* >> sums.txt
325+
318326
- name: Deploy continuous
319327
if: (github.ref == 'refs/heads/master') && !(contains(github.ref, '/tags/v'))
320328
uses: crowbarmaster/GH-Automatic-Releases@latest
321329
with:
322330
repo_token: "${{ secrets.GITHUB_TOKEN }}"
323331
automatic_release_tag: "continuous"
324332
prerelease: true
325-
title: "Continuous Build"
326-
body: "build: ${{env.DESKFLOW_VERSION}}"
333+
title: 'Continuous Build'
327334
files: |
328-
package-*/*
335+
deskflow-*
336+
sums.txt
329337
330338
- name: Deploy release
331339
if: contains(github.ref, '/tags/v')
@@ -334,7 +342,8 @@ jobs:
334342
repo_token: "${{ secrets.GITHUB_TOKEN }}"
335343
prerelease: false
336344
files: |
337-
package-*/*
345+
deskflow-*
346+
sums.txt
338347
339348
winget-publish:
340349
needs: release

0 commit comments

Comments
 (0)
Failed to load comments.