Skip to content

Commit

Permalink
use release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarfgp committed Dec 14, 2023
1 parent 0d41f58 commit aafd268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 44 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Release

on:
push:
tags: ['[0-9]+.[0-9]+.[0-9]+', '[0-9]+.[0-9]+.[0-9]+-pre[0-9]+']
paths-ignore: [ 'docs/**' ]
branches: [ main ]

permissions: write-all

Expand Down Expand Up @@ -39,12 +39,6 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install dotnet workload
run: dotnet workload restore
- name: Restore
run: dotnet restore ${SLN_FILE}
- name: Build
run: dotnet build ${SLN_FILE} -p:Version=${RELEASE_VERSION} -c ${CONFIG} --no-restore
- name: Pack
run: |
find templates -type f -name template.json | xargs sed -i bak "s/PKG_VERSION/${RELEASE_VERSION}/g"
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/templates.yml

This file was deleted.

0 comments on commit aafd268

Please sign in to comment.