Skip to content

Merge pull request #12 from OpenAstronomy/dependabot/github_actions/d… #36

Merge pull request #12 from OpenAstronomy/dependabot/github_actions/d…

Merge pull request #12 from OpenAstronomy/dependabot/github_actions/d… #36

Workflow file for this run

# This workflow is used to test the action
on:
push:
pull_request:
jobs:
test:
name: Test action
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: build
uses: OpenAstronomy/build-python-dist@bbb0e1c5b132893999ea56d77bd4b526e0097c7d # v1.0.1
with:
pure_python_wheel: true
- id: upload
uses: ./
with:
anaconda_user: OpenAstronomyCI
anaconda_package: test-package
anaconda_token: ${{ secrets.anaconda_token }}
keep_n_latest: 2
test_no_keep:
name: Test action (no keep option specified)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: build
uses: OpenAstronomy/build-python-dist@bbb0e1c5b132893999ea56d77bd4b526e0097c7d # v1.0.1
with:
pure_python_wheel: true
- id: upload
uses: ./
with:
anaconda_user: OpenAstronomyCI
anaconda_package: test-package
anaconda_token: ${{ secrets.anaconda_token }}