Skip to content

CompileAndPublish

CompileAndPublish #5

# This is a basic workflow that is manually triggered
name: CompileAndPublish
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
repository_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
CompileAndPublish:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- name: Checkout Repository
uses: actions/checkout@v4
with:
repository: 'NightmareXIV/NightmareXIVNugetUploader'
submodules: true
ref: 'main'
- name: XDTesting Print Directory Structure
uses: FiorelaCiroku/XDTesting-Print-Directory-Structure@v1.0.2
- name: Set up .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 10.0.x
- name: Run the program
run: dotnet run --project NightmareXIVNugetUploader/NightmareXIVNugetUploader/NightmareXIVNugetUploader.csproj
env:
READONLYKEY: ${{ secrets.READONLYKEY }}