Files
boost/.github/workflows/release.yml
2022-11-14 19:04:46 +02:00

32 lines
797 B
YAML

name: Release
on:
push:
tags:
- boost-*
jobs:
make-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Create archives
run: |
cd ..
cp -a ${{ github.event.repository.name }} ${{ github.ref_name }}
rm -rf ${{ github.ref_name }}/.git
zip -q ${{ github.ref_name }}.zip -r ${{ github.ref_name }}
tar -czf ${{ github.ref_name }}.tar.gz ${{ github.ref_name }}
tar -cJf ${{ github.ref_name }}.tar.xz ${{ github.ref_name }}
- uses: softprops/action-gh-release@v1
with:
files: |
../${{ github.ref_name }}.zip
../${{ github.ref_name }}.tar.gz
../${{ github.ref_name }}.tar.xz