Skip to content

Commit

Permalink
fix: nightly release typo and add checksums (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleGedd committed Jul 19, 2024
1 parent 26b3859 commit 6ca1dd9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/nightly-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Nightly Release
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" ## Every day at midnight UTC
- cron: "0 3 * * *" ## nightly at 3am UTC

permissions:
contents: read
Expand Down Expand Up @@ -35,14 +35,21 @@ jobs:
run: |
uds run build-all
- name: Rename artifacts for readability
run: |
mv build/uds build/uds-nightly-linux-amd64
mv build/uds-arm build/uds-nightly-linux-arm64
mv build/uds-mac-apple build/uds-nightly-darwin-arm64
mv build/uds-mac-intel build/uds-nightly-darwin-amd64
- name: Update nightly-unstable tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
run: |
# cleanup old release
gh release delete nightly-unstable --cleanup-tag -y || true
# generate new release
gh release create nightly-unstable './build/*' \
gh release create nightly-unstable ./build/* \
-t "nightly-unstable" \
--prerelease \
-n 'Nightly unstable build'
3 changes: 2 additions & 1 deletion tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,13 @@ tasks:
- name: BUILD_ARGS
- name: build-all
description: build all the CLI binaries
description: build all the CLI binaries and gen checksums
actions:
- task: build-cli-linux-amd
- task: build-cli-linux-arm
- task: build-cli-mac-intel
- task: build-cli-mac-apple
- cmd: sha256sum build/* > build/checksums.txt

- name: build-cli-linux-amd
description: build the CLI for Linux AMD64
Expand Down

0 comments on commit 6ca1dd9

Please sign in to comment.