Update build-macos.yml

This commit is contained in:
Evan Su 2024-06-26 22:35:40 -04:00 committed by GitHub
parent 1fb3d4f861
commit 73b5b23d78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,8 +4,12 @@ permissions:
contents: write
on:
schedule:
- cron: "0 0 * * *"
push:
paths:
- "VERSION"
branches:
- main
workflow_dispatch:
jobs:
build:
@ -55,10 +59,15 @@ jobs:
if-no-files-found: error
compression-level: 9
- name: Get version tag
run: |
VERSION=$(cat VERSION)
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
Picocrypt.dmg
tag_name: nightly
tag_name: ${{ env.VERSION }}
make_latest: true