Skip to content

Commit

Permalink
Add pre-release generation
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuHAK committed Dec 15, 2023
1 parent 0462363 commit 47522b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
release:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/LangPwn'
steps:
- uses: actions/checkout@v3

Expand All @@ -59,7 +59,7 @@ jobs:
run: 7z a MechaPwn-${{ steps.slug.outputs.sha8 }}.7z MechaPwn/*

- name: Create pre-release
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/LangPwn'
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 47522b7

Please sign in to comment.