Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Lan2Play/PugSharp
Browse files Browse the repository at this point in the history
  • Loading branch information
TheR00st3r committed Nov 2, 2023
2 parents e5b8acd + 792f42f commit 9674e10
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/test_and_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
- name: replace CS2VERSION variable in meta files
run: sed -i 's|%%CS2VERSION%%|1.39.6.5/13965 9842|g' ./release.json;
- name: Release
if: ${{ !(contains(github.ref, '-beta')) }}
if: ${{ (startsWith(github.ref, 'refs/tags/v')) && !(contains(github.ref, '-beta')) }}
uses: softprops/action-gh-release@v1
with:
files: |
Expand All @@ -125,12 +125,20 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: pre Release
if: ${{ (contains(github.ref, '-beta')) }}
if: ${{ (startsWith(github.ref, 'refs/tags/v')) && (contains(github.ref, '-beta')) }}
uses: softprops/action-gh-release@v1
with:
prerelease: true
files: |
./release.json
./PugSharp_${PUGSHARPNETVER}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: upload pre - pre release
uses: actions/upload-artifact@v3
with:
name: latest_pre_pre
path: |
./release.json
./PugSharp_${PUGSHARPNETVER}.zip
retention-days: 10

0 comments on commit 9674e10

Please sign in to comment.