Skip to content

Commit

Permalink
Simplify CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Oct 24, 2023
1 parent a805fdb commit e49d4ee
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
with:
dotnet-version: 7.0.x

- name: Publish
- name: Publish app
run: >
dotnet publish LightBulb
--output LightBulb/bin/publish/
Expand All @@ -79,9 +79,11 @@ jobs:

deploy:
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}

needs:
- test
- pack

runs-on: ubuntu-latest
permissions:
actions: read
Expand All @@ -100,12 +102,7 @@ jobs:
name: LightBulb-Installer

- name: Create package (portable)
shell: pwsh
run: >
Compress-Archive
-Path LightBulb/*
-DestinationPath LightBulb.zip
-Force
run: zip -r LightBulb.zip LightBulb/

- name: Create release
env:
Expand Down

0 comments on commit e49d4ee

Please sign in to comment.