Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b5ac71c72 | ||
|
|
42c4c32b8f | ||
|
|
f1f4280c19 | ||
|
|
1598397a66 | ||
|
|
024e36f5e0 | ||
|
|
eb84d7646a | ||
|
|
d585b049e5 | ||
|
|
18679c6c19 | ||
|
|
66db024c59 | ||
|
|
8421ebc16f | ||
|
|
9a0377c9f9 | ||
|
|
6bb24f4f08 | ||
|
|
6054417c26 | ||
|
|
7260fb7f61 | ||
|
|
0bc3793a68 | ||
|
|
ab1bc511a8 | ||
|
|
0ac3a85234 |
@@ -32,7 +32,7 @@ jobs:
|
||||
docker run --rm -v $RUNNER_TEMP/alpine_node:/node_output alpine_nodejs:${{github.event.inputs.NodeVersion}}
|
||||
ls -l -R $RUNNER_TEMP/alpine_node
|
||||
- name: Upload alpine node.js
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: alpine_nodejs_${{github.event.inputs.NodeVersion}}
|
||||
path: ${{runner.temp}}/alpine_node/node-${{github.event.inputs.NodeVersion}}-alpine-x64.tar.gz
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
container: alpine
|
||||
steps:
|
||||
- name: Download alpine node.js
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: alpine_nodejs_${{github.event.inputs.NodeVersion}}
|
||||
- run: |
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download alpine node.js
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: alpine_nodejs_${{github.event.inputs.NodeVersion}}
|
||||
# Create GitHub release
|
||||
|
||||
19
CONTRIBUTING.md
Normal file
19
CONTRIBUTING.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Contributing
|
||||
|
||||
## Submitting a pull request
|
||||
|
||||
1. Fork and clone the repository
|
||||
1. Create a new branch: `git checkout -b my-branch-name`
|
||||
1. Push to your fork and submit a pull request
|
||||
1. Pat yourself on the back and wait for your pull request to be reviewed and merged
|
||||
|
||||
## Tips for working this repository:
|
||||
> - The repository is huge right now, you don't want to waste your time and disk space to get those unrelated files.
|
||||
> - Ignore LFS files during initial `git clone` the repo with `GIT_LFS_SKIP_SMUDGE=1 git clone https://mseng@dev.azure.com/mseng/AzureDevOps/_git/CIPlat.Externals`
|
||||
> - Ignore LFS files during any `git checkout` or `git fetch` operation with `GIT_LFS_SKIP_SMUDGE=1`.
|
||||
> - You do want the LFS smudge filter to run during `git add` and `git push`, make sure you don't have `GIT_LFS_SKIP_SMUDGE=1` when you run `git add` and `git push`.
|
||||
> - More `Git-LFS` doc is at https://github.com/git-lfs/git-lfs/tree/main/docs
|
||||
|
||||
Thanks! :heart: :heart: :heart:
|
||||
|
||||
GitHub Actions Team :octocat:
|
||||
16
README.md
16
README.md
@@ -1,8 +1,11 @@
|
||||
# alpine_nodejs
|
||||
# GitHub Alpine NodeJS
|
||||
|
||||
[GitHub Actions Runner](https://github.com/actions/runner/blob/main/src/Misc/externals.sh) download alpine node.js from https://vstsagenttools.blob.core.windows.net/tools/nodejs
|
||||
[](https://github.com/actions/alpine_nodejs/actions)
|
||||
|
||||
The [workflow](https://github.com/TingluoHuang/alpine_nodejs/actions/workflows/docker-image.yml) in this repository can compile a partial-static node.js for alpine and create a [GitHub release](https://github.com/TingluoHuang/alpine_nodejs/releases) for it.
|
||||
The Alpine NodeJS repo houses a redistribution of NodeJS builds that are used within the [GitHub Actions Runner](https://github.com/actions/runner/blob/main/src/Misc/externals.sh).
|
||||
|
||||
## Getting Started
|
||||
The [workflow](https://github.com/actions/alpine_nodejs/actions/workflows/docker-image.yml) in this repository can compile a partial-static node.js for alpine and create a [GitHub release](https://github.com/actions/alpine_nodejs/releases) for it.
|
||||
|
||||
- Queue workflow using `workflow_dispatch` trigger and set the `node` version you want to compile as input, ex: `v12.22.7`
|
||||

|
||||
@@ -13,10 +16,3 @@ The [workflow](https://github.com/TingluoHuang/alpine_nodejs/actions/workflows/d
|
||||
- There should be a newly created release that matches the version you want for `node`, and it is able to run on alpine.
|
||||

|
||||
|
||||
- Once we get [approval](https://github.com/github/open-source-releases/issues/205) to change the current repository from `private` to `public`, then we can consume the release assets directly. In the meantime, you will need to follow [instructions](https://dev.azure.com/mseng/AzureDevOps/_wiki/wikis/AzureDevOps.wiki/4037/How-to-upload-resource-to-vstsagenttools.blob.core.windows.net) to check-in the compiled alpine node.js from the release assets as a `Git-LFS` files to https://dev.azure.com/mseng/AzureDevOps/_git/CIPlat.Externals and get it mirror into https://vstsagenttools.blob.core.windows.net/tools/nodejs
|
||||
> Tips for working with `CIPlat.Externals` repository:
|
||||
> - The repository is huge right now, you don't want to waste your time and disk space to get those unrelated files.
|
||||
> - Ignore LFS files during initial `git clone` the repo with `GIT_LFS_SKIP_SMUDGE=1 git clone https://mseng@dev.azure.com/mseng/AzureDevOps/_git/CIPlat.Externals`
|
||||
> - Ignore LFS files during any `git checkout` or `git fetch` operation with `GIT_LFS_SKIP_SMUDGE=1`.
|
||||
> - You do want the LFS smudge filter to run during `git add` and `git push`, make sure you don't have `GIT_LFS_SKIP_SMUDGE=1` when you run `git add` and `git push`.
|
||||
> - More `Git-LFS` doc is at https://github.com/git-lfs/git-lfs/tree/main/docs
|
||||
|
||||
12
SUPPORT.md
Normal file
12
SUPPORT.md
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
# Support
|
||||
|
||||
## How to file issues and get help
|
||||
|
||||
This project does not support issues, however you may submit a pull request with any proposed improvements.
|
||||
|
||||
`actions/alpine_nodejs` is under active development and maintained by GitHub staff **AND THE COMMUNITY**. We will do our best to respond to support, feature requests, and community questions in a timely manner.
|
||||
|
||||
## GitHub Support Policy
|
||||
|
||||
Support for this project is limited to the resources listed above.
|
||||
Reference in New Issue
Block a user