-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92d5b59
commit 6517d39
Showing
5 changed files
with
53 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
uses: EndBug/add-and-commit@v9 | ||
with: | ||
push: origin HEAD:main | ||
add: bin/corlink-server --force | ||
add: ./licensing/bin/corlink-server --force | ||
author_name: motortruck1221 | ||
author_email: [email protected] | ||
aur-binary: | ||
|
@@ -131,8 +131,8 @@ jobs: | |
uses: actions/upload-artifact@v4 | ||
with: | ||
name: binaries | ||
path: bin/ | ||
retention-days: 1 | ||
path: ./licensing/bin/ | ||
retention-days: 2 | ||
download-upload-release: | ||
name: Download & Upload Binaries to Release | ||
runs-on: ubuntu-latest | ||
|
@@ -145,7 +145,7 @@ jobs: | |
with: | ||
#download the binaries from the binaries job | ||
name: binaries | ||
path: bin/ | ||
path: ./licensing/bin/ | ||
# binaries worflow run id | ||
- name: Make binaries executable | ||
run: cd licensing/ && chmod +x bin/* | ||
|
@@ -170,22 +170,4 @@ jobs: | |
gh release upload $release bin/corlink-server-386-compressed --clobber | ||
gh release upload $release bin/corlink-server-compressed.exe --clobber | ||
gh release upload $release bin/corlink-server-mac-compressed --clobber | ||
gh release upload $release bin/corlink-server-mac-arm64-compressed --clobber | ||
npm: | ||
name: Publish packages to NPM | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '18' | ||
- name: Build binaries | ||
run: | | ||
cd licensing/ | ||
make npm | ||
- name: Setup User | ||
run: npm config set //registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}} | ||
- name: Publish | ||
run: cd licensing/ && make npm-publish | ||
gh release upload $release bin/corlink-server-mac-arm64-compressed --clobber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
try { | ||
if (!localStorage["auth"] && new URL(document.all.rcheck.href).password) { | ||
window.location.reload(); | ||
localStorage["auth"] = true; | ||
} | ||
} | ||
catch (e) { | ||
console.log(e); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"name": "@rubynetwork/corlink-client", | ||
"version": "0.0.1", | ||
"description": "A simple helper for a client using corlink", | ||
"main": "index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/ruby-network/corlink.git" | ||
}, | ||
"keywords": [ | ||
"javascript", | ||
"corlink" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/ruby-network/corlink/issues" | ||
}, | ||
"homepage": "https://github.com/ruby-network/corlink#readme", | ||
"author": "Ruby Network", | ||
"license": "AGPL-3.0", | ||
"dependencies": { | ||
}, | ||
"devDependencies": { | ||
} | ||
} |