From 4624b6ee62744ca391d05d29c1f4bee1f7e1e941 Mon Sep 17 00:00:00 2001 From: Vibhu Agarwal Date: Wed, 4 Mar 2020 19:31:12 +0530 Subject: [PATCH 1/6] Update python-publish.yml --- ci/python-publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/python-publish.yml b/ci/python-publish.yml index d5f3859..a7438ff 100644 --- a/ci/python-publish.yml +++ b/ci/python-publish.yml @@ -22,6 +22,7 @@ jobs: run: | python -m pip install --upgrade pip pip install setuptools wheel twine + pip install -r requirements.txt - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} From 9b42288206b387b1b6d78ae4156efbde99bdf882 Mon Sep 17 00:00:00 2001 From: Vibhu Agarwal Date: Tue, 26 May 2020 17:52:59 +0530 Subject: [PATCH 2/6] Update python-publish.yml --- ci/python-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/python-publish.yml b/ci/python-publish.yml index a7438ff..736fae8 100644 --- a/ci/python-publish.yml +++ b/ci/python-publish.yml @@ -22,7 +22,7 @@ jobs: run: | python -m pip install --upgrade pip pip install setuptools wheel twine - pip install -r requirements.txt + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} From af32ab05c611fe486ba27bf7fc52c0a307212fac Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Wed, 3 Jun 2020 23:16:28 +0200 Subject: [PATCH 3/6] Improve maven.yml --- ci/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/maven.yml b/ci/maven.yml index c8aeb3a..86f7309 100644 --- a/ci/maven.yml +++ b/ci/maven.yml @@ -21,4 +21,4 @@ jobs: with: java-version: 1.8 - name: Build with Maven - run: mvn -B package --file pom.xml + run: mvn --batch-mode --update-snapshots verify From 1de1e6c7776ea1f5be322861138d9954b833ff1a Mon Sep 17 00:00:00 2001 From: Kanitkorn Sujautra Date: Sun, 7 Jun 2020 00:51:49 +0900 Subject: [PATCH 4/6] Make NPM_TOKEN consistent with GITHUB_TOKEN It was `npm_token` before, but for GitHub it's `GITHUB_TOKEN`. This makes them be the same, all-cap case. --- ci/npm-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/npm-publish.yml b/ci/npm-publish.yml index 861e372..aa47c4e 100644 --- a/ci/npm-publish.yml +++ b/ci/npm-publish.yml @@ -30,7 +30,7 @@ jobs: - run: npm ci - run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} publish-gpr: needs: build From 194e973f907b13ca11a6f211d6dc4257a12a2619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 8 Jul 2020 15:19:01 +0200 Subject: [PATCH 5/6] ci: add Nix action --- ci/nix.yml | 25 ++ ci/properties/nix.properties.json | 6 + icons/nix.svg | 513 ++++++++++++++++++++++++++++++ 3 files changed, 544 insertions(+) create mode 100644 ci/nix.yml create mode 100644 ci/properties/nix.properties.json create mode 100644 icons/nix.svg diff --git a/ci/nix.yml b/ci/nix.yml new file mode 100644 index 0000000..e5213e0 --- /dev/null +++ b/ci/nix.yml @@ -0,0 +1,25 @@ +name: Nix + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2.3.1 + - name: Install Nix + uses: cachix/install-nix-action@v10 + - name: Install Cachix + - uses: cachix/cachix-action@v6 + with: + # Once you generate a binary cache on https://app.cachix.org, you'll need to insert the name of the cache here + name: mycache + signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + - name: Run nix-build + run: nix-build + - name: Check nix-shell works + run: nix-shell --run "echo OK" \ No newline at end of file diff --git a/ci/properties/nix.properties.json b/ci/properties/nix.properties.json new file mode 100644 index 0000000..3a90d75 --- /dev/null +++ b/ci/properties/nix.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Nix", + "description": "Build Nix project", + "iconName": "nix", + "categories": ["Nix"] +} diff --git a/icons/nix.svg b/icons/nix.svg new file mode 100644 index 0000000..9a70a14 --- /dev/null +++ b/icons/nix.svg @@ -0,0 +1,513 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + From 349e3dde9514886ed5acdac5c7636a47cbfd70dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 24 Sep 2020 11:57:59 +0200 Subject: [PATCH 6/6] nix: review feedback --- ci/nix.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ci/nix.yml b/ci/nix.yml index e5213e0..b42fe3e 100644 --- a/ci/nix.yml +++ b/ci/nix.yml @@ -1,3 +1,7 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. name: Nix on: @@ -12,9 +16,9 @@ jobs: steps: - uses: actions/checkout@v2.3.1 - name: Install Nix - uses: cachix/install-nix-action@v10 + uses: cachix/install-nix-action@95a8068e317b8def9482980abe762f36c77ccc99 - name: Install Cachix - - uses: cachix/cachix-action@v6 + - uses: cachix/cachix-action@490a246fbc7f92208d309eeb54383a4d828cedc1 with: # Once you generate a binary cache on https://app.cachix.org, you'll need to insert the name of the cache here name: mycache