Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
Ginsakura committed Sep 22, 2023
1 parent 03375b4 commit ec1b246
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit ec1b246

Please sign in to comment.