Skip to content

Commit

Permalink
Update InfinityAutoPackager.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitjas committed Apr 12, 2023
1 parent 16c266d commit 7e50999
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/InfinityAutoPackager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
on:
release:
types: [published]
workflow_dispatch:

jobs:
InfinityAutoPackager:
if: github.ref_type == 'tag'
runs-on: ubuntu-latest
steps:

Expand All @@ -25,8 +28,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload iemod package to latest release
uses: svenstaro/upload-release-action@v1-release
if: github.ref != 'refs/heads/master'
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.iemod
Expand All @@ -35,11 +37,10 @@ jobs:
overwrite: true

- name: Upload zip package to latest release
uses: svenstaro/upload-release-action@v1-release
if: github.ref != 'refs/heads/master'
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.zip
asset_name: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.zip
tag: ${{ github.ref }}
overwrite: true
overwrite: true

0 comments on commit 7e50999

Please sign in to comment.