Update manual.yml
This commit is contained in:
29
.github/workflows/manual.yml
vendored
29
.github/workflows/manual.yml
vendored
@@ -1,27 +1,22 @@
|
|||||||
# This is a basic workflow that is manually triggered
|
name: Build Mod
|
||||||
|
|
||||||
name: Manual workflow
|
|
||||||
# Controls when the action will run. Workflow runs when manually triggered using the UI
|
|
||||||
# or API.
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# Inputs the workflow accepts.
|
|
||||||
inputs:
|
inputs:
|
||||||
name:
|
mod_name:
|
||||||
# Friendly description to be shown in the UI instead of 'name'
|
# Friendly description to be shown in the UI instead of 'name'
|
||||||
description: 'Person to greet'
|
description: 'Mod name'
|
||||||
# Default value if no value is explicitly provided
|
# Default value if no value is explicitly provided
|
||||||
default: 'World'
|
default: 'TheOnlyCure'
|
||||||
# Input has to be provided for the workflow to run
|
# Input has to be provided for the workflow to run
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
||||||
jobs:
|
jobs:
|
||||||
assemble_package:
|
my_first_job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Run audit
|
- uses: actions/checkout@v3
|
||||||
id: audit
|
- run: mkdir -p ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name}
|
||||||
run: |
|
- run: echo hello > ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name}/world.txt
|
||||||
echo "Test1"
|
- uses: actions/upload-artifact@v3
|
||||||
echo "Test2"
|
with:
|
||||||
|
name: ${{ inputs.mod_name }}
|
||||||
|
path: path/to/artifact/world.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user