Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
release(): Latest develop build to main (#168)
Browse files Browse the repository at this point in the history
* Upgrade dependencies to latest versions  (#163)

- Bump actions/setup-java from 3 to 4
- Bump actions/checkout from 3 to 4
- Bump github/codeql-action from 2 to 3
- Upgrade node, xmldom, and mocha to latest version

* docs(README): Fix contributing URL (#166)

* feat(): Update dist with latest build (#167)

---------

Co-authored-by: Nacho González Bullón <[email protected]>
  • Loading branch information
zteater and natete authored Feb 13, 2024
1 parent eaa0169 commit 9dc09b2
Show file tree
Hide file tree
Showing 7 changed files with 2,673 additions and 412 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
npm ci
npm test
test-basic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
servers: '[{"id": "foo", "username": "fu", "password": "bar" }]'
Expand All @@ -36,7 +36,7 @@ jobs:
test-expanded:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
repositories: >
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
test-filepath:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
output_file: custom.xml
Expand All @@ -128,13 +128,13 @@ jobs:
test-maven:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
output_file: custom.xml
- run: |
cat custom.xml
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'adopt'
Expand All @@ -145,13 +145,13 @@ jobs:
test-env-filepath:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
output_file: $GITHUB_WORKSPACE/custom.xml
- run: |
cat $GITHUB_WORKSPACE/custom.xml
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'adopt'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -54,7 +54,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -68,4 +68,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Reference: [Maven Settings > Proxies](https://maven.apache.org/settings.html#pro

When using a custom `output_file`, for example:
```yaml
- uses: whelk-io/maven-settings-xml-action@v20
- uses: whelk-io/maven-settings-xml-action@v22
with:
output_file: foo/custom.xml
```
Expand All @@ -115,7 +115,7 @@ The generated `settings.xml` will be created at `/home/runner/work/{repo}/foo/cu

````yaml
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v20
uses: whelk-io/maven-settings-xml-action@v22
with:
repositories: '[{ "id": "some-repository", "url": "http://some.repository.url" }]'
plugin_repositories: '[{ "id": "some-plugin-repository", "url": "http://some.plugin.repository.url" }]'
Expand Down Expand Up @@ -169,7 +169,7 @@ The generated `settings.xml` will be created at `/home/runner/work/{repo}/foo/cu

````yaml
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v20
uses: whelk-io/maven-settings-xml-action@v22
with:
repositories: >
[
Expand Down Expand Up @@ -372,7 +372,7 @@ The generated `settings.xml` will be created at `/home/runner/work/{repo}/foo/cu

## Local Setup

See [CONTRIBUTING.md](Contributing) for guidelines for forking and contributing to this project.
See [Contributing](CONTRIBUTING.md) for guidelines for forking and contributing to this project.

**Install Dependencies**

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ inputs:
output_file:
description: 'path to generated file, default is .m2/settings.xml'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit 9dc09b2

Please sign in to comment.