reitzig / actions-asciidoctor Goto Github PK
View Code? Open in Web Editor NEWGitHub Action that installs asciidoctor
License: MIT License
GitHub Action that installs asciidoctor
License: MIT License
Repetition stinks. Currently, every user has to repeat the call to ruby/setup-ruby
; we should do that for them.
Once ruby/setup-ruby#58 is done, adopt the solution here.
Using reitzig/[email protected]
produces the following warning:
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: reitzig/[email protected]. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
The installation fails because of GitHub actions deprecating 'set-env' and 'add-path' commands.
Error: Unable to process command '::add-path::' successfully.
Error: The add-path
command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the ACTIONS_ALLOW_UNSECURE_COMMANDS
environment variable to true
. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
add-env
in:
actions-asciidoctor/dist/index.js
Line 219 in 9d6e321
set-env
in:
actions-asciidoctor/dist/index.js
Line 197 in 9d6e321
This whole action really comes from the need not only separately installing, but also hacking additional parameters into calls when using Hugo:
Once Hugo allows to configure its use of asciidoc(tor), this motivation goes away.
gem install
isn't the preferable approach.When used in tandem with https://github.com/peaceiris/actions-hugo, calls to asciidoctor from Hugo fail:
/home/runner/work/today-i-learned/today-i-learned/actions_asciidoctor/asciidoctor rendering posts/2020-04-24-navigating-slack.adoc: fork/exec /home/runner/work/today-i-learned/today-i-learned/actions_asciidoctor/asciidoctor: exec format error
Not sure what the qualitative difference to the old hack on that end is, though.
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.