Skip to content

Commit

Permalink
add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ushi-as committed Feb 16, 2022
1 parent efa3eed commit 4467d86
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on: push

jobs:
crx:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: trektor
- uses: actions/setup-node@v2
with:
cache: yarn
cache-dependency-path: trektor/yarn.lock
- run: yarn install
working-directory: trektor
- uses: browser-actions/setup-chrome@latest
- run: |
export DISPLAY=:99
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
chrome --pack-extension=trektor
- uses: "softprops/action-gh-release@v1"
with:
files: "trektor.crx"
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Trektor",
"description": "Browser-Extension zum automatischen Anlegen von Toggl tracking tasks",
"version": "0.0.3",
"version": "0.0.4",
"browser_specific_settings": {
"gecko": {
"id": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trektor",
"version": "0.0.3",
"private": true,
"repository": "[email protected]:aboutsource/trektor",
"author": "[email protected]",
"license": "MIT",
Expand Down

0 comments on commit 4467d86

Please sign in to comment.