forked from pavlobu/deskreen
-
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.
- Loading branch information
Showing
1 changed file
with
21 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,35 +6,19 @@ on: | |
name: release all os -- no code signing | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Deskreen Release ${{ github.ref }} | ||
draft: true | ||
prerelease: false | ||
|
||
release: | ||
name: Deskreen Release | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
include: | ||
# - os: ubuntu-18.04 # IMPORTANT!!! this LINUX os should be the same as in build-and-test and covecov workflows! this is for making sure caches are used in most efficient way | ||
# artifact_name: 'release/{*.AppImage,*.rpm,*.deb,*.yml}' | ||
- os: ubuntu-18.04 # IMPORTANT!!! this LINUX os should be the same as in build-and-test and covecov workflows! this is for making sure caches are used in most efficient way | ||
artifact_name: 'release/{*.AppImage,*.rpm,*.deb,*.yml}' | ||
- os: windows-2019 | ||
artifact_name: 'release/{*.msi,*.exe,*.blockmap,*.yml}' | ||
# - os: macos-10.15 | ||
# artifact_name: 'release/{*.dmg,*.blockmap,*.yml}' | ||
- os: macos-10.15 | ||
artifact_name: 'release/{*.dmg,*.blockmap,*.yml}' | ||
|
||
steps: | ||
- name: Checkout code | ||
|
@@ -116,3 +100,20 @@ jobs: | |
file: ${{ matrix.artifact_name }} | ||
tags: true | ||
draft: true | ||
|
||
create-release: | ||
needs: release | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: v2.0.4fix | ||
release_name: Deskreen Release v2.0.4fix | ||
draft: true | ||
prerelease: false |