Skip to content

Commit

Permalink
ci(compile): and publish (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 authored Mar 18, 2024
1 parent 7414469 commit 8a39936
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release on Tag
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0

permissions:
contents: write

jobs:
build-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get install build-essential libleveldb1d gcc g++ libleveldb-dev -y
- name: Make
run: ./build.sh
- name: Package project
# junk paths remove to recreate the path where is the file inside the zip package
run: zip --junk-paths linux-dumpsteamcollections build/dumpsteamcollections
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags')
with:
draft: false
prerelease: false
files: linux-dumpsteamcollections.zip

0 comments on commit 8a39936

Please sign in to comment.