Fix release workflow (2)

feature/lookup-installed v0.1.0
trivernis 2 years ago
parent 05802d8d4c
commit c446898c3d
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -9,6 +9,8 @@ jobs:
create-release-draft: create-release-draft:
name: pre-release name: pre-release
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
outputs: outputs:
release_upload_url: ${{ steps.create_release.outputs.upload_url }} release_upload_url: ${{ steps.create_release.outputs.upload_url }}
steps: steps:
@ -16,14 +18,11 @@ jobs:
if: ${{ !env.ACT }} if: ${{ !env.ACT }}
- id: create_release - id: create_release
uses: marvinpinto/action-automatic-releases@latest uses: ncipollo/release-action@v1
if: ${{ !env.ACT }} if: ${{ !env.ACT }}
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
draft: true draft: true
title: Latest Pre-Release artifacts: |
files: |
LICENSE LICENSE
build-release: build-release:
@ -33,6 +32,8 @@ jobs:
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
permissions:
contents: write
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
if: ${{ !env.ACT }} if: ${{ !env.ACT }}

Loading…
Cancel
Save