UAT Y24-245 V2 #189
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: Automatic appending of build product to releases | |
on: | |
release: | |
types: published | |
env: | |
BUNDLE_WITHOUT: 'test lint' | |
jobs: | |
build-and-append-to-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
# Actually run our build | |
- name: Compile Build | |
run: ./compile-build | |
# Upload the release asset as an artifact to the existing release | |
- uses: shogo82148/[email protected] | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: release.tar.gz | |
asset_content_type: application/gzip |