Skip to content

Commit

Permalink
add GitHub Action for build automation
Browse files Browse the repository at this point in the history
  • Loading branch information
clash82 committed Aug 26, 2024
1 parent 5f02296 commit bedc256
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build on tag creation

on:
push:
tags:
- '*'

jobs:
build:
name: Build bib2xml.phar and update release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up PHP v8.2
uses: nanasess/setup-php@v4
with:
php-version: '8.2'

- name: Build project
run: |
php -f create-phar.php
move bin\bib2xml.phar.gz bin\bib2xml.phar
- name: Update release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: bin\bib2xml.phar
asset_name: bib2xml.phar
tag: ${{ github.ref }}
overwrite: true
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ php bib2xml.phar convert input_translation.bblx
Changelog:
----------

* v0.6.1.0 (2024-08-26):
- upgraded PHP to v8.2
- added GitHub Action for build automation

* v0.6.0.0 (2023-11-24):
- added `csv` input format support

Expand Down

0 comments on commit bedc256

Please sign in to comment.