Questions tagged [building-github-actions]

Questions should be tagged with building-github-actions if the question is about creating custom actions like the examples in https://github.com/actions. Questions should not be tagged with this tag if the question is about using GitHub actions/writing GitHub Actions yml files.

From the documentation:

Actions are individual tasks that you can combine to create jobs and customize your workflow. You can create your own actions, and use and customize actions shared by the GitHub community.

There are some sample actions here but this tag is about building own actions.

Currently, there are 2 types of actions:

177 questions
0
votes
0 answers

Making system executable available to a Github Action

My Github action is calling my build.rb script which depends on the pandoc executable being available to the system (this is actually done by a dependency, so I can't change it). I added pandoc to the Github action as per the instructions here…
max pleaner
  • 26,189
  • 9
  • 66
  • 118
0
votes
1 answer

Compare Package Versions in Github Actions

I want to compare my current deployed version against the version mentioned in my 'package.json'. If the version number in the json is higher than the current one (mentioned in my pushed Tags (Release)) I want to deploy it with GitHub Actions. Im…
0
votes
0 answers

No files were found with the provided path: No artifacts will be uploaded. Github Actions Fastlane

I'm following this tutorial on setting up CI/CD with github actions for a ios app. I want the action to build and deploy my ios app. I'm fairly sure I'm followed the directions, but when I trigger my action with a push, I get this error: Run…
Sham Dhiman
  • 1,348
  • 1
  • 21
  • 59
0
votes
1 answer

Custom label for GitHub Action

Is it possible to set a custom build label/number/display name for a GitHub action? With Azure DevOps Pipelines you can do this by echo'ing ##vso[build.updatebuildnumber]$value I'm looking for analogous functionality in GitHub Actions
Jeff
  • 35,755
  • 15
  • 108
  • 220
0
votes
1 answer

GitHub Actions CD "Cannot find path because it does not exist"

I'm quite new to using Actions, and I'm having some trouble. My YML file looks like this: name: Build on: workflow_dispatch: push: branches: ["main", "master"] jobs: build: runs-on: windows-latest steps: - name: Build with…
silvncr
  • 35
  • 7
0
votes
2 answers

How do I authenticating to remote repo inside Github Action using GH CLI?

I am having an issue with the following segment of a Github Action/Workflow which is meant to pull the PR list (with some filtering) of a remote, private repo (e.g. not the repo that contains the Action itself). - run: echo "PR2=$( gh pr list…
0
votes
1 answer

How to run a cat command in a GitHub action

I have a bash file that is supposed to optimize various parts of a site. One of such commands is concatenating multiple javascript files into one and removing the remaining duplicates. The bash script works perfectly locally, but GitHub Actions…
MrVauxs
  • 3
  • 3
0
votes
1 answer

Repository name must be lowercase

I’m a student and I’m studying in GitHub Actions with using Docker. When I build and push codes at GitHub, there was a problem. the problem is below: enter image description here I googled and recognized that my username made a problem, because my…
SEOI HONG
  • 1
  • 1
0
votes
2 answers

Upload 'ng build' to S3 Bucket

I am trying to upload my angular-meteor project's 'ng build' to S3 Bucket. This is my .yml file on: push: branches: - dev jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Setup meteor …
0
votes
1 answer

How to release a TS GitHub Action without tracking build files in source

I'm currently developing a GitHub Action built with TypeScript, and I'm struggling to find good information on how they can be released onto the GitHub Marketplace. A couple places I've seen indicate that I can bundle my action into a single…
0
votes
1 answer

File ./Doxyfile could not be found

I am trying to make a gthub action wit doxygen using the yaml code below. name: Doxygen Action on: ["push"] jobs: build: runs-on: "ubuntu-latest" steps: - name: "Doxygen Action" uses: mattnotmitt/doxygen-action@v1.3.1 …
0
votes
1 answer

Github action error with Set up QEMU - Error: Unable to locate executable file: docker

I'm building a workflow to test, build a docker image and push it to GitHub private repository. I used to run the action on ububntu-latest and use a specific PHP version and some environment builds but there were some problems due to the fact that…
0
votes
1 answer

GitHub Actions, detect changes in submodule

I have two repositories A and B, both hosted on GitHub. Repo A is static site generator code. Repo B is bunch of text files. They have to stay separate. I want to rebuild repo A, each time repo B receives an update. It has to work using GitHub…
Marcin
  • 179
  • 2
  • 14
0
votes
1 answer

How these files are continuously updated?

I came across the repository: https://github.com/SauravKanchan/NewsAPI, where some of the data files(everything/ and top-headlines/category/) are periodically updated and commited. Please explain if you can deduce how its being done, Is it a. some…
v78
  • 2,803
  • 21
  • 44
0
votes
1 answer

Is there any option to run github action via email

I need to send an email to github and then it need to run github action with input Is that possible? Or i need to make a push to master via email
1 2 3
11
12