Skip to content

Commit

Permalink
Initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
shmocz committed Dec 23, 2023
1 parent ec90c13 commit 7d927c2
Show file tree
Hide file tree
Showing 17 changed files with 2,413 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build and release

on:
push:
tags:
- v*

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Store version number
run: |
VERSION=${GITHUB_REF_NAME#v}
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Build and run checks
run: |
./build.sh build
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: latest-release
path: dist/
- name: Upload New Release.
uses: softprops/action-gh-release@v1
with:
name: v${{ env.VERSION }}
tag_name: v${{ env.VERSION }}
body: pyra2yr wheel and source distribution.
files: |
dist/pyra2yr-${{ env.VERSION }}-py3-none-any.whl
dist/pyra2yr-${{ env.VERSION }}.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
**
!.github
!.github/**
!.github/workflows/build.yml
!.gitignore
!.pylintrc
!/pyra2yr
!/pyra2yr/**
!/ra2yrproto/__init__.py
!LICENSE
!Makefile
!README.md
!pyproject.toml
!requirements.txt
!setup.py
!build.sh
*__pycache__*
Loading

0 comments on commit 7d927c2

Please sign in to comment.