forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move snap publishing to own workflow
- Loading branch information
Showing
2 changed files
with
26 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Snap | ||
|
||
on: | ||
schedule: | ||
# run on each day | ||
- cron: '33 4 * * *' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Create snapcraft image | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v2 | ||
# The image relies on https://builds.jabref.org/master/JabRef-5.0-portable_linux.tar.gz^ | ||
# See snap/snapcraft.yml for details | ||
- name: Build snap (1) Run build | ||
uses: jhenstridge/snapcraft-build-action@v1 | ||
id: snapcraft | ||
- name: Build snap (2) Upload snap | ||
uses: jhenstridge/snapcraft-publish-action@v1 | ||
with: | ||
store_login: ${{ secrets.SNAPCRAFT_LOGIN_FILE }} | ||
snap: ${{ steps.snapcraft.outputs.snap }} | ||
release: edge |