Skip to content

Commit

Permalink
update f5511dc
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions authored and GitHub Actions committed Jul 23, 2023
0 parents commit cb770bb
Show file tree
Hide file tree
Showing 101 changed files with 28,637 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: f0fa3bbe124ea5f124d16bcf0222cccd
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added .nojekyll
Empty file.
341 changes: 341 additions & 0 deletions Action/Releaser.html

Large diffs are not rendered by default.

184 changes: 184 additions & 0 deletions Action/With-post-step.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>with-post-step &mdash; Actions 0.4.4 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
<link rel="shortcut icon" href="../_static/icon.png"/>
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/sphinx_highlight.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Overview" href="../JobTemplate/index.html" />
<link rel="prev" title="Releaser" href="Releaser.html" />
</head>

<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../index.html">
<img src="../_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Introduction</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../Background.html">Background</a></li>
<li class="toctree-l1"><a class="reference internal" href="../RepositoryStructure.html">Repository Structure</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Instantiation.html">Instantiantion</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Deveopment.html">Development</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Dependency.html">Dependencies</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Releases.html">Releases Management</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Actions</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="index.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="Releaser.html">Releaser</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">with-post-step</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Job Templates</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/index.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/Parameters.html">Parameters</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/CoverageCollection.html">CoverageCollection</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/UnitTesting.html">UnitTesting</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/StaticTypeCheck.html">StaticTypeCheck</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/PublishTestResults.html">PublishTestResults</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/Package.html">Package</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/PublishOnPyPI.html">PublishOnPyPI</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/VerifyDocs.html">VerifyDocs</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/BuildTheDocs.html">BuildTheDocs</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/PublishToGitHubPages.html">PublishToGitHubPages</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/Release.html">Release</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/ArtifactCleanUp.html">ArtifactCleanUp</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Appendix</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../License.html">Apache License 2.0</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Doc-License.html">Creative Commons Attribution 4.0 International</a></li>
<li class="toctree-l1"><a class="reference internal" href="../TODO.html">TODOs</a></li>
</ul>

</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">Actions</a>
</nav>

<div class="wy-nav-content">
<div class="rst-content">


<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
<li>with-post-step</li>
<li class="wy-breadcrumbs-aside">
<a href="https://github.com/pyTooling/Actions/blob/dev/doc/Action/With-post-step.rst" class="fa fa-github"> Edit on GitHub</a>
</li>
</ul>
<hr/>
</div>

<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<style type="text/css">
span.bolditalic {font-weight: bold; font-style: italic; }
span.underline {text-decoration: underline; }
span.strike {text-decoration: line-through; }
span.xlarge {font-size: x-large; }
span.colorred {color: #CC0000; }
span.colorgreen {color: #009933; }
span.colorblue {color: #0066FF; }
span.colorpurple {color: #9900CC; }
</style><section id="with-post-step">
<span id="action-withpoststep"></span><h1>with-post-step<a class="headerlink" href="#with-post-step" title="Permalink to this heading"></a></h1>
<p>JavaScript Actions support defining <code class="docutils literal notranslate"><span class="pre">pre</span></code>, <code class="docutils literal notranslate"><span class="pre">pre-if</span></code>, <code class="docutils literal notranslate"><span class="pre">post</span></code> and <code class="docutils literal notranslate"><span class="pre">post-if</span></code> steps, which allow executing steps at
the beginning or the end of a job, regardless of intermediate steps failing. Unfortunately, those are not available for
any other Action type.</p>
<p>Action <strong>with-post-step</strong> is a generic JavaScript Action to execute a main command and to set a further command as a
post step. It allows using the <code class="docutils literal notranslate"><span class="pre">post</span></code> feature with scripts written in Bash, Python or any other interpreted language
available on the environment.</p>
<p><strong>Example Usage:</strong></p>
<div class="highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="nt">jobs</span><span class="p">:</span>
<span class="w"> </span><span class="nt">Image</span><span class="p">:</span>
<span class="w"> </span><span class="nt">steps</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">...</span>

<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Push container image</span>
<span class="w"> </span><span class="nt">uses</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">./with-post-step</span>
<span class="w"> </span><span class="nt">with</span><span class="p">:</span>
<span class="w"> </span><span class="nt">main</span><span class="p">:</span><span class="w"> </span><span class="p p-Indicator">|</span>
<span class="w"> </span><span class="no">echo &#39;${{ github.token }}&#39; | docker login ghcr.io -u GitHub-Actions --password-stdin</span>
<span class="w"> </span><span class="no">docker push ghcr.io/pytooling/releaser</span>
<span class="w"> </span><span class="nt">post</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">docker logout ghcr.io</span>
</pre></div>
</div>
<div class="admonition seealso">
<p class="admonition-title">See also</p>
<ul class="simple">
<li><p><a class="reference external" href="https://github.com/actions/runner/issues/1478">actions/runner#1478</a>.</p></li>
</ul>
</div>
</section>


</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="Releaser.html" class="btn btn-neutral float-left" title="Releaser" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="../JobTemplate/index.html" class="btn btn-neutral float-right" title="Overview" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>

<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2017-2022, Patrick Lehmann.
<span class="lastupdated">Last updated on 23.07.2023.
</span></p>
</div>Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/buildthedocs/sphinx.theme">theme</a>
provided by <a href="https://buildthedocs.github.io">Build the Docs</a>.


</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>

</body>
</html>
162 changes: 162 additions & 0 deletions Action/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview &mdash; Actions 0.4.4 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
<link rel="shortcut icon" href="../_static/icon.png"/>
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->

<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/sphinx_highlight.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Releaser" href="Releaser.html" />
<link rel="prev" title="Releases Management" href="../Releases.html" />
</head>

<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../index.html">
<img src="../_static/logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
0.4
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Introduction</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../Background.html">Background</a></li>
<li class="toctree-l1"><a class="reference internal" href="../RepositoryStructure.html">Repository Structure</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Instantiation.html">Instantiantion</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Deveopment.html">Development</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Dependency.html">Dependencies</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Releases.html">Releases Management</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Actions</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="Releaser.html">Releaser</a></li>
<li class="toctree-l1"><a class="reference internal" href="With-post-step.html">with-post-step</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Job Templates</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/index.html">Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/Parameters.html">Parameters</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/CoverageCollection.html">CoverageCollection</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/UnitTesting.html">UnitTesting</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/StaticTypeCheck.html">StaticTypeCheck</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/PublishTestResults.html">PublishTestResults</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/Package.html">Package</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/PublishOnPyPI.html">PublishOnPyPI</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/VerifyDocs.html">VerifyDocs</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/BuildTheDocs.html">BuildTheDocs</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/PublishToGitHubPages.html">PublishToGitHubPages</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/Release.html">Release</a></li>
<li class="toctree-l1"><a class="reference internal" href="../JobTemplate/ArtifactCleanUp.html">ArtifactCleanUp</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Appendix</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../License.html">Apache License 2.0</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Doc-License.html">Creative Commons Attribution 4.0 International</a></li>
<li class="toctree-l1"><a class="reference internal" href="../TODO.html">TODOs</a></li>
</ul>

</div>
</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">Actions</a>
</nav>

<div class="wy-nav-content">
<div class="rst-content">


<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
<li>Overview</li>
<li class="wy-breadcrumbs-aside">
<a href="https://github.com/pyTooling/Actions/blob/dev/doc/Action/index.rst" class="fa fa-github"> Edit on GitHub</a>
</li>
</ul>
<hr/>
</div>

<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<style type="text/css">
span.bolditalic {font-weight: bold; font-style: italic; }
span.underline {text-decoration: underline; }
span.strike {text-decoration: line-through; }
span.xlarge {font-size: x-large; }
span.colorred {color: #CC0000; }
span.colorgreen {color: #009933; }
span.colorblue {color: #0066FF; }
span.colorpurple {color: #9900CC; }
</style><section id="overview">
<h1>Overview<a class="headerlink" href="#overview" title="Permalink to this heading"></a></h1>
<p>The following 2 actions are provided by <strong>Actions</strong>:</p>
<ul class="simple">
<li><p><a class="reference internal" href="Releaser.html#action-releaser"><span class="std std-ref">Releaser</span></a></p></li>
<li><p><a class="reference internal" href="With-post-step.html#action-withpoststep"><span class="std std-ref">with-post-step</span></a></p></li>
</ul>
</section>


</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="../Releases.html" class="btn btn-neutral float-left" title="Releases Management" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="Releaser.html" class="btn btn-neutral float-right" title="Releaser" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>

<hr/>

<div role="contentinfo">
<p>&#169; Copyright 2017-2022, Patrick Lehmann.
<span class="lastupdated">Last updated on 23.07.2023.
</span></p>
</div>Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/buildthedocs/sphinx.theme">theme</a>
provided by <a href="https://buildthedocs.github.io">Build the Docs</a>.


</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>

</body>
</html>
Loading

0 comments on commit cb770bb

Please sign in to comment.