ci: release a file with packages sums 'sums.txt' with releases
This commit is contained in:
parent
170b4251f3
commit
fa9b2d91d5
1 changed files with 17 additions and 8 deletions
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
|
|
@ -305,16 +305,24 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
|
|
||||||
- name: Fancy Checkout
|
- name: Fancy Checkout
|
||||||
uses: sithlord48/fancy-checkout@v1.0.0
|
uses: sithlord48/fancy-checkout@v1.0.0
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
if: (github.ref == 'refs/heads/master') && !(contains(github.ref, '/tags/v'))
|
|
||||||
uses: ./.github/actions/get-version
|
uses: ./.github/actions/get-version
|
||||||
|
|
||||||
|
- name: Download artifacts
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
|
||||||
|
- name: Generate package checksums
|
||||||
|
id: generate_notes
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
mv $GITHUB_WORKSPACE/package-*/deskflow-* .
|
||||||
|
rm -rf $GITHUB_WORKSPACE/package-*
|
||||||
|
echo "Build: ${{env.DESKFLOW_VERSION }}" > sums.txt
|
||||||
|
sha256sum deskflow-* >> sums.txt
|
||||||
|
|
||||||
- name: Deploy continuous
|
- name: Deploy continuous
|
||||||
if: (github.ref == 'refs/heads/master') && !(contains(github.ref, '/tags/v'))
|
if: (github.ref == 'refs/heads/master') && !(contains(github.ref, '/tags/v'))
|
||||||
uses: crowbarmaster/GH-Automatic-Releases@latest
|
uses: crowbarmaster/GH-Automatic-Releases@latest
|
||||||
|
|
@ -322,10 +330,10 @@ jobs:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
automatic_release_tag: "continuous"
|
automatic_release_tag: "continuous"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
title: "Continuous Build"
|
title: 'Continuous Build'
|
||||||
body: "build: ${{env.DESKFLOW_VERSION}}"
|
|
||||||
files: |
|
files: |
|
||||||
package-*/*
|
deskflow-*
|
||||||
|
sums.txt
|
||||||
|
|
||||||
- name: Deploy release
|
- name: Deploy release
|
||||||
if: contains(github.ref, '/tags/v')
|
if: contains(github.ref, '/tags/v')
|
||||||
|
|
@ -334,7 +342,8 @@ jobs:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
prerelease: false
|
prerelease: false
|
||||||
files: |
|
files: |
|
||||||
package-*/*
|
deskflow-*
|
||||||
|
sums.txt
|
||||||
|
|
||||||
winget-publish:
|
winget-publish:
|
||||||
needs: release
|
needs: release
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue