merge from main

This commit is contained in:
aparna-ravindra
2021-07-22 15:41:01 +05:30
parent 287fdf727c
commit d2451b84c5
6 changed files with 11 additions and 560 deletions
+1 -1
View File
@@ -22,4 +22,4 @@ jobs:
java-version: '11'
distribution: 'adopt'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
run: mvn -B package --file pom.xml
-29
View File
@@ -1,29 +0,0 @@
# 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:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install Nix
uses: cachix/install-nix-action@95a8068e317b8def9482980abe762f36c77ccc99
- name: Install Cachix
- 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
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Run nix-build
run: nix-build
- name: Check nix-shell works
run: nix-shell --run "echo OK"
+2 -2
View File
@@ -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
@@ -47,4 +47,4 @@ jobs:
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Nix",
"description": "Build Nix project",
"iconName": "nix",
"categories": ["Nix"]
}
+8 -9
View File
@@ -26,12 +26,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}