Update GitHub Action from set-output to GITHUB_OUTPUT

I have tried everything I can thing of for variations of this and have not been able to find the right syntax. I have a GitHub Actions workflow that currently has this step: steps: – name: Parse Assignee Properties id: assignee_properties uses: actions/github-script@v6 with: script: | const assignees = context.payload.issue.assignees; const assigneeStrings = assignees.map(a =>… Read More Update GitHub Action from set-output to GITHUB_OUTPUT

How can I auto-generate a release note and create a release using Github Actions

I am trying to create a Github Action job that will automatically generate a release note and create a release based on that note. I have found an action called "actions/create-release", but it is only good for creating the release, and does not provide a way to automatically generate the release note. – name: Create-Release… Read More How can I auto-generate a release note and create a release using Github Actions

GitHub Actions completes job as success even it receives non-zero exit code

I made my test.bat to be executed from GitHub Actions. The issue I have is that GitHub Actions completes job as success even it receives non-zero exit code from the test.bat. Here is the YAML file for GitHub Actions. jobs: run_test: runs-on: [self-hosted,Windows] steps: – run: ./test.bat Here is the test.bat file that executes test.… Read More GitHub Actions completes job as success even it receives non-zero exit code

Github Workflows: Changing or specifying environment variables in matrix jobs

How do I specify or change an environment variable as part of a job matrix? For example, here I want my job to echo "Two" and "Three" instead of "One", but github completely ignores the definition or change of the environment variable in the matrix: name: test-test-test on: push: branches: [ main, develop ] pull_request:… Read More Github Workflows: Changing or specifying environment variables in matrix jobs

Path outside the build context error when building container in Github Actions

I have a .Net multi-project solution that I’m containerizing and I’m trying to automate the build with Github Actions. This is a simplified overview of my file structure: repo/ ├── Solution.sln └── src/ ├── Core/ │ └── Project.Domain/ │ └── Project.Domain.csproj └── Presentation/ └── Project.API/ ├── Project.API.csproj └── Dockerfile The API project depends on the… Read More Path outside the build context error when building container in Github Actions

botocore.exceptions.NoRegionError: You must specify a region. GitHub Actions with CI/CD Pipeline with AWS

I am trying to reproduce, step-by-step, the instructions on this video "Cloud Resume Challenge Sprint (Sept, 2022) – Week 4" from youtube, https://youtu.be/wiyI0Ngn31o, on how to setup GitHub Actions with CD/CI pipeline for Backend testing with Python for SAM Deployment in AWS. I have followed the video’s instructions, step-by-step; however, when I push my mail.yml… Read More botocore.exceptions.NoRegionError: You must specify a region. GitHub Actions with CI/CD Pipeline with AWS

GitHub Action: How to fix mvn: command not found issue with nektos/act

Introduction I’m currently contributing to a GitHub project. For this, I’m writing a GitHub workflow inside a GitHub Action that tests the creation of JavaDoc files. This workflow should be run with act. The project of the GitHub Action when I want to add this GitHub Workflow: https://github.com/MathieuSoysal/Javadoc-publisher.yml Problem The problem, when I execute my… Read More GitHub Action: How to fix mvn: command not found issue with nektos/act

Send parameter into custom GitHub action

What specific syntax must be changed in the code below in order to successfully pass a parameter into the GitHub custom action from the GitHub workflow? The workflow file code is at .github/workflows/mycustomworkflow.yml and contains the code: name: send-param-into-custom-action on: push: branches: – dev jobs: send-the-param: runs-on: ubuntu-latest steps: – uses: actions/checkout@v3 – id: SendParamIntoCustomAction… Read More Send parameter into custom GitHub action