Release tarball #3
Workflow file for this run
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
name: Release tarball | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies on Ubuntu | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y autoconf automake autopoint g++ gettext git libtool make texinfo texlive | |
- name: Run autogen | |
run: ./autogen.sh | |
- name: Configure | |
run: | | |
export CC=gcc CXX=g++ | |
./configure | |
- name: Build and Test | |
run: make distcheck | |
- name: Upload Release Asset | |
uses: actions/upload-release-asset@v1 | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: ./fswatch-${{ github.event.release.tag_name }}.tar.gz | |
asset_name: fswatch-${{ github.event.release.tag_name }}.tar.gz | |
asset_content_type: application/gzip | |
- name: Upload Release PDF documentation | |
uses: actions/upload-release-asset@v1 | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: ./fswatch/doc/fswatch.pdf | |
asset_name: fswatch-${{ github.event.release.tag_name }}.pdf | |
asset_content_type: application/gzip |