diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 9a4397a..b0f3cbc 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -6,6 +6,7 @@ permissions: on: schedule: - cron: "0 0 * * *" + workflow-dispatch: jobs: build: @@ -65,11 +66,16 @@ 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 Picocrypt.deb - tag_name: nightly + tag_name: ${{ env.VERSION }} make_latest: true