Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Prepare release: v0.6.0 #13

Prepare release: v0.6.0

Prepare release: v0.6.0 #13

Workflow file for this run

---
name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: restore cached downloads
id: cache-download-restore
uses: actions/cache/restore@v3
with:
path: downloads
key: ${{ runner.os }}-downloads
- name: fetch all packages
run: bundle exec rake fetch:all
- name: generate package
run: bundle exec rake package
- name: release
uses: softprops/action-gh-release@v1
with:
files: pkg/*.tar.xz
- name: save downloads in cache
id: cache-download-sav
uses: actions/cache/save@v3
with:
path: downloads
key: ${{ steps.cache-download-restore.outputs.cache-primary-key }}