Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LucBerge authored Dec 1, 2022
1 parent 30af45a commit 07c8306
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
executable_file: wallme
- os: windows-latest
executable_file: wallme.exe
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
Expand All @@ -75,8 +71,10 @@ jobs:
./devscript/create_exe.sh
shell: bash

- uses: actions/upload-artifact@v3
- name: Upload files
uses: actions/upload-artifact@v3
with:
name: executables
path: dist/

deploy_executable:
Expand All @@ -87,7 +85,8 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/download-artifact@v3
- name: Download files
uses: actions/download-artifact@v3
with:
path: dist/

Expand All @@ -109,5 +108,5 @@ jobs:
prerelease: false
title: ${{ env.WALLME_VERSION }}
files: |
./dist/wallme
./dist/wallme.exe
./dist/executables/wallme
./dist/executables/wallme.exe

0 comments on commit 07c8306

Please sign in to comment.