Merge pull request #125 from afermg/add-smiles-again #7
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
name: Publish to Zenodo | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
with: | |
logger: pretty | |
log-directives: nix_installer=trace | |
backtrace: full | |
- name: Nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Run command in flake environment | |
run: | | |
nix develop . --accept-flake-config --impure --command bash manifests/src/upload_index.sh | |
env: | |
ZENODO_TOKEN: ${{ secrets.ZENODO_TOKEN }} |