You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One can always control a workflow with run: field with a sequence of commands to execute. To check if the latest commit to the repository did not break build and tests one has to grab the repository with git pull and then git checkout to the commit to be tested. Such a sequence of commands is common, so to reduce amount of typing it is possible to use certain predefined actions. Such predefined actions can be executed by properly setting uses: field instead of run: field.
The most common pattern is to checkout some repository into the environment, which can be done with help of actions/checkout@v3. Such an action can get certain variables with help of with: field. Please take a look at the documentation of actions/checkout@v3. It is possible to checkout several repositories into the environment.
Checkout your current repository and some other available (possibly mock) repository into the environment.
The text was updated successfully, but these errors were encountered:
One can always control a workflow with
run:
field with a sequence of commands to execute. To check if the latest commit to the repository did not break build and tests one has to grab the repository withgit pull
and thengit checkout
to the commit to be tested. Such a sequence of commands is common, so to reduce amount of typing it is possible to use certain predefined actions. Such predefined actions can be executed by properly settinguses:
field instead ofrun:
field.The most common pattern is to checkout some repository into the environment, which can be done with help of actions/checkout@v3. Such an action can get certain variables with help of
with:
field. Please take a look at the documentation of actions/checkout@v3. It is possible to checkout several repositories into the environment.Checkout your current repository and some other available (possibly mock) repository into the environment.
The text was updated successfully, but these errors were encountered: