You can run any git
command you need. For example, you could run git status
like this.
workflow "My build" {
resolves = [
"git command",
]
on = "push"
}
action "git command" {
uses = "srt32/[email protected]"
args = "git status"
}
A GitHub Action to run arbitrary git commands
License: MIT License
You can run any git
command you need. For example, you could run git status
like this.
workflow "My build" {
resolves = [
"git command",
]
on = "push"
}
action "git command" {
uses = "srt32/[email protected]"
args = "git status"
}
Hi
I'm confused and I beg for some clarification.
Every document from github on how to write workflows are displaying yaml. In your readme it's not yaml. Can you please refer to a document from Github explaining the DSL you are using in your readme, or make some example on how to integrate git-actions into yaml workflows.
I'm eager to hear from you, and finally to be able to integrate git-actions into my workflow.
Cheers Emanuel
Apparently the git subtree
command cannot be identified. This is available as a separate package git-subtree.
github workflow yaml:
name: Struo2
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: build (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ubuntu-latest
env:
DATADIR: data
strategy:
matrix:
python-version: [3.6, 3.7]
steps:
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: 'latest'
auto-update-conda: true
python-version: ${{ matrix.python-version }}
channels: conda-forge,bioconda
activate-environment: struo2
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout submodules
uses: srt32/[email protected]
with:
args: git submodule update --init --recursive
Error:
Starting the git Action
Submodule 'bin/ll_pipeline_utils' ([email protected]:leylabmpi/ll_pipeline_utils.git) registered for path 'bin/ll_pipeline_utils'
Cloning into '/github/workspace/bin/ll_pipeline_utils'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
fatal: clone of '[email protected]:leylabmpi/ll_pipeline_utils.git' into submodule path '/github/workspace/bin/ll_pipeline_utils' failed
Failed to clone 'bin/ll_pipeline_utils'. Retry scheduled
Cloning into '/github/workspace/bin/ll_pipeline_utils'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
fatal: clone of '[email protected]:leylabmpi/ll_pipeline_utils.git' into submodule path '/github/workspace/bin/ll_pipeline_utils' failed
Failed to clone 'bin/ll_pipeline_utils' a second time, aborting
Cloning the repo & submodule locally works just fine. Both GitHub repos are public.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.