Skip to content

Release

Release #3

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
runId:
description: "The id of the workflow run to create the release from"
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
# Download artifacts
- uses: actions/download-artifact@master
with:
name: nomad_iis
path: nomad_iis
github-token: ${{ github.token }}
run-id: ${{ github.event.inputs.runId }}
- uses: actions/download-artifact@master
with:
name: nomad_iis_mgmt_api
path: nomad_iis_mgmt_api
github-token: ${{ github.token }}
run-id: ${{ github.event.inputs.runId }}
# Zip the artifacts
- uses: vimtor/action-zip@v1.2
with:
files: ./nomad_iis
dest: nomad_iis.zip
- uses: vimtor/action-zip@v1.2
with:
files: ./nomad_iis_mgmt_api
dest: nomad_iis_mgmt_api.zip
# Create the Release
- - name: create release

Check failure on line 40 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 40, Col: 7): A sequence was not expected
uses: softprops/action-gh-release@v2
with:
name: vTODO
tag_name: vTODO
draft: true
files:
- nomad_iis.zip
- nomad_iis_mgmt_api.zip