Update build-linux.yml

This commit is contained in:
Evan Su 2024-06-26 22:27:36 -04:00 committed by GitHub
parent 84cd103936
commit 8dd2b4dcc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,7 @@ permissions:
on: on:
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * *"
workflow-dispatch:
jobs: jobs:
build: build:
@ -65,11 +66,16 @@ jobs:
if-no-files-found: error if-no-files-found: error
compression-level: 9 compression-level: 9
- name: Get version tag
run: |
VERSION=$(cat VERSION)
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Release - name: Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
files: | files: |
Picocrypt Picocrypt
Picocrypt.deb Picocrypt.deb
tag_name: nightly tag_name: ${{ env.VERSION }}
make_latest: true make_latest: true