Skip to content

Commit

Permalink
Create release-foo.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan48 authored Oct 9, 2024
1 parent e9cbd41 commit 3fae688
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release-foo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Create release

on:
push:
tags:
- "dummy-v*"

permissions:
contents: write

jobs:
release:
name: Release pushed tag
runs-on: ubuntu-22.04
steps:
- run: |
apt update && apt install build-essential libfile-sharedir-perl
perl Makefile.PL
make manifest dist
- name: release
uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: true
release_name: ${{ github.ref }}
tag_name: ${{ github.ref }}
body_path: Changes
- name: upload linux artifact
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Contenticious-0.393.tar.gz
asset_name: Contenticious-0.393.tar.gz
asset_content_type: application/gzip

0 comments on commit 3fae688

Please sign in to comment.