Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
amrahm committed Jan 12, 2024
1 parent 4da525c commit 6b92d6a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,26 @@ jobs:

- run: pip install -r requirements.txt pyinstaller
- run: pyinstaller --clean --noconfirm --log-level=WARN MonitorBrightnessScheduler.spec

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d%H%M%S')"

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: release-${{ steps.date.outputs.date }}
release_name: Release ${{ steps.date.outputs.date }}
draft: false
prerelease: false

- name: Release with Notes
uses: softprops/action-gh-release@v1
with:
tag_name: release-${{ steps.date.outputs.date }}
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6b92d6a

Please sign in to comment.