Skip to content

Commit

Permalink
refactor: Release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
techman83 committed May 1, 2024
1 parent 4cf929b commit 5ffbf10
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: '7'
cache: true

# - name: Installing runtime dependencies
# run: apt-get install -y xvfb
Expand Down Expand Up @@ -51,8 +52,8 @@ jobs:
# image: mono:latest
steps:
- uses: actions/checkout@v4
#- name: RPM build dependencies
# run: apt-get update && apt-get install -y make libplist-utils xorriso
- name: OSX build dependencies
run: apt-get update && apt-get install -y libplist-utils xorriso
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
Expand All @@ -77,6 +78,10 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: '7'
- uses: actions/download-artifact@v4
with:
name: repack-unsigned
path: _build/repack/
- name: Build deb
env:
CODENAME: stable
Expand All @@ -102,12 +107,16 @@ jobs:
# image: mono:latest
steps:
- uses: actions/checkout@v4
# - name: Installing rpm build dependencies
# run: apt-get update && apt-get install -y make gpg rpm createrepo
- name: Installing rpm build dependencies
run: apt-get update && apt-get install -y createrepo
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '7'
- uses: actions/download-artifact@v4
with:
name: repack-unsigned
path: _build/repack/
- name: Build rpm
run: ./build rpm --configuration=Release --exclusive
- name: Import GPG key
Expand Down

0 comments on commit 5ffbf10

Please sign in to comment.