You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
- Gemfile
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: ruby/setup-ruby@v1
|
|
|
|
with:
|
|
|
|
bundler-cache: true
|
|
|
|
- run: bundle exec rake
|
|
|
|
- run: zip -rqj emoji.alfredsnippets build/*
|
|
|
|
|
|
|
|
- id: date
|
|
|
|
run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
|
|
|
|
- uses: ncipollo/release-action@v1
|
|
|
|
with:
|
|
|
|
artifacts: emoji.alfredsnippets
|
|
|
|
tag: ${{ steps.date.outputs.DATE }}
|