This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(github): update to new Github Actions syntax
- Loading branch information
Showing
3 changed files
with
26 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
FROM continuumio/miniconda3:4.5.12 | ||
|
||
LABEL "com.github.actions.name"="Publish Anaconda Package" | ||
LABEL "com.github.actions.description"="Package and publish Anaconda modules." | ||
LABEL "com.github.actions.icon"="package" | ||
LABEL "com.github.actions.color"="purple" | ||
FROM continuumio/miniconda3:4.6.14 | ||
|
||
LABEL "repository"="https://github.com/m0nhawk/conda-package-publish-action" | ||
LABEL "maintainer"="Andrew Prokhorenkov <[email protected]>" | ||
|
||
RUN conda install anaconda-client conda-build | ||
|
||
ADD entrypoint.sh /entrypoint.sh | ||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
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,21 @@ | ||
name: 'Conda Package Publish Action' | ||
description: 'Build and Publish conda package' | ||
author: 'Andrew Prokhorenkov' | ||
branding: | ||
icon: 'package' | ||
color: 'purple' | ||
inputs: | ||
subDir: | ||
description: 'Sub-directory with project' | ||
default: '' | ||
AnacondaUsername: | ||
description: 'Anaconda Username' | ||
AnacondaPassword: | ||
description: 'Anaconda Password' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
args: | ||
- ${{ inputs.subDir }} | ||
- ${{ inputs.AnacondaUsername }} | ||
- ${{ inputs.AnacondaPassword }} |
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