Skip to content

refac: remove invalid hosts #25

refac: remove invalid hosts

refac: remove invalid hosts #25

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
Deploying:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set environment variables
id: vars
run: |
echo "project_version=$(cat .version)" >> $GITHUB_OUTPUT
- name: Get Changelog Entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
validation_depth: 10
version: ${{ steps.vars.outputs.project_version }}
path: ./CHANGELOG.md
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: v${{ steps.vars.outputs.project_version }}
name: v${{ steps.vars.outputs.project_version }}
body: ${{ steps.changelog_reader.outputs.changes }}
prerelease: ${{ steps.changelog_reader.outputs.status == 'prereleased' }}
draft: ${{ steps.changelog_reader.outputs.status == 'unreleased' }}
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}
- name: Purge old cache
uses: MyAlbum/purge-cache@v2
with:
debug: true # Purge caches by their created time (default)
max-age: 604800 # Leave only caches accessed in the last 7 days (default)