Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoardoGruppi committed May 12, 2024
1 parent 90f5a09 commit 15c11de
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
strategy:
matrix:
image: ["windows-latest", "macos-latest", "ubuntu-latest"]
new_version: ["1.0.1"]

steps:
- name: Checkout code
Expand Down Expand Up @@ -51,3 +52,19 @@ jobs:
path: |
${{ github.workspace }}/*.zip
${{ github.workspace }}/*.tar.gz
- name: Create and publish release
id: create_release
uses: ncipollo/release-action@v1.14.0
with:
allowUpdates: true
replacesArtifacts: true
tag: v${{ matrix.new_version }}
name: Notepads v${{ matrix.new_version }}
body: "New release"
token: ${{ secrets.GITHUB_TOKEN }}
artifacts:
/Users/runner/work/Watch_Movies/Watch_Movies/watch-movies-macos.tar.gz
D:\a\Watch_Movies\Watch_Movies\watch-movies-windows.zip
/home/runner/work/Watch_Movies/Watch_Movies/watch-movies-linux.tar.gz

0 comments on commit 15c11de

Please sign in to comment.