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: Manual workflow
|
||||
# Controls when the action will run. Workflow runs when manually triggered using the UI
|
||||
# or API.
|
||||
name: Build Mod
|
||||
on:
|
||||
workflow_dispatch:
|
||||
# Inputs the workflow accepts.
|
||||
inputs:
|
||||
name:
|
||||
mod_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: 'World'
|
||||
default: 'TheOnlyCure'
|
||||
# Input has to be provided for the workflow to run
|
||||
required: true
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
assemble_package:
|
||||
my_first_job:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Run audit
|
||||
id: audit
|
||||
run: |
|
||||
echo "Test1"
|
||||
echo "Test2"
|
||||
- uses: actions/checkout@v3
|
||||
- run: mkdir -p ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name}
|
||||
- run: echo hello > ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name}/world.txt
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ inputs.mod_name }}
|
||||
path: path/to/artifact/world.txt
|
||||
|
||||
Reference in New Issue
Block a user