Skip to content

Commit

Permalink
Update nightly-builds.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mijorus authored May 26, 2023
1 parent 4dad6e2 commit 2c849fa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/nightly-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,21 @@ jobs:
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged

steps:
steps:
- name: Generate release tag
id: tag
run: |
echo "::set-output name=release_tag::gearlever_nightly_$(date +"%Y.%m.%d_%H-%M")"
- uses: actions/checkout@v3
- uses: flatpak/flatpak-github-actions/[email protected]
with:
bundle: gearlever.flatpak
manifest-path: it.mijorus.gearlever.Devel.json
- name: Publish pre-release package
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
files: gearlever.flatpak

0 comments on commit 2c849fa

Please sign in to comment.