Skip to content

Commit

Permalink
Merge pull request #27 from opt-nc/develop
Browse files Browse the repository at this point in the history
Develop - changes awaiting release
  • Loading branch information
mbarre authored Apr 11, 2023
2 parents 7acfd33 + 02d087b commit bf66525
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: 📦 Semantic Release
if: github.ref == 'refs/heads/main'
id: release
uses: cycjimmy/semantic-release-action@v3.4.0
uses: cycjimmy/semantic-release-action@v3.4.2
with:
extra_plugins: |
@semantic-release/exec
Expand Down
28 changes: 28 additions & 0 deletions data/duckdb-poem.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
id,text
1,"In a world of data and code 🌐💻"
2,"Where information doth explode 💥💾"
3,"A database emerged quite new 🆕🦆"
4,"DuckDB, the feathered friend we knew 🤝🐤"
5,""
6,"With speed and efficiency 💨💪"
7,"DuckDB solves queries with agility 🏃‍♂️🔍"
8,"A feather-light database to deploy 🕊️💻"
9,"For analytics to enjoy 📈🤩"
10,""
11,"Structured, unstructured, and beyond 📊📉"
12,"DuckDB stores it all in a bond 🔗"
13,"SQL-compliant, it plays well 👍"
14,"With other databases, we can tell 🤝💻"
15,""
16,"A mallard in the world of tech 🦆💻"
17,"DuckDB swims without a peck 🏊‍♂️❌"
18,"In lakes of data it does wade 🌊💾"
19,"A quack above the rest is made 🗣️👑"
20,""
21,"So if you seek a database true 🤔🔍"
22,"With power, speed, and charm anew 💪💨🤩"
23,"Look no further than the duck 🦆"
24,"DuckDB, a name you'll love to pluck 🤗🐤"
25,""
26,"✍️ Poem by ChatGPT (Mar 14 Version.) 💻🤖📚"
27,"ℹ️ https://help.openai.com/en/articles/6825453-chatgpt-release-notes"
30 changes: 20 additions & 10 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ module.exports = async function () {
core.warning(`🆕 DuckDb ${latestVersion} is available.`);
}

const regex = '^v[0-9]*.[0-9]*.[0-9]*$';
if(!selectedVersion.match(regex)) {
core.error("Version not valid.");
throw "Version not valid.";
}

core.info(`📥 Installing DuckDB version : ${selectedVersion}`);
const url = `https://github.com/duckdb/duckdb/releases/download/${selectedVersion}/duckdb_cli-linux-amd64.zip`
const wgetCmd = `wget ${url}`
Expand Down
55 changes: 29 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
},
"dependencies": {
"@actions/core": "^1.10.0",
"axios": "^1.3.4"
"axios": "^1.3.5"
},
"devDependencies": {
"@vercel/ncc": "^0.34.0",
"eslint": "^8.27.0"
"eslint": "^8.38.0"
}
}

0 comments on commit bf66525

Please sign in to comment.