Forgot the preamble #20
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: build-and-package | |
on: | |
push: | |
branches: [ "development" ] | |
pull_request: | |
branches: [ "development" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1.115.3 | |
with: | |
bundler-cache: true | |
- run: bundle exec middleman build | |
- run: tar -czvf build.tar.gz build README.md LICENSE | |
- run: sha512sum build.tar.gz > checksum.sha512 | |
- uses: svenstaro/upload-release-action@v2 | |
with: | |
file: build.tar.gz | |
tag: ${{ github.ref }} | |
overwrite: true | |
- uses: svenstaro/upload-release-action@v2 | |
with: | |
file: checksum.sha512 | |
tag: ${{ github.ref }} | |
overwrite: true |