Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #108 from EpicGames/UE5.2
Browse files Browse the repository at this point in the history
Update github action for making a release
  • Loading branch information
lukehb committed Feb 20, 2023
2 parents a366404 + 556d1cb commit 6f271db
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/create-gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,23 @@ jobs:
working-directory: ./Frontend/implementations/EpicGames
run: npm run build-all

- name: Make output directory for archives
run: mkdir output
- name: Move all content into output directory for archiving
run: items=(*) && mkdir PixelStreamingInfrastructure-${{ github.ref_name }}-${{ steps.getversion.outputs.version }} && mv ${items[*]} PixelStreamingInfrastructure-${{ github.ref_name }}-${{ steps.getversion.outputs.version }}/

- name: Archive Release tar.gz
uses: thedoctor0/zip-release@0.7.1
with:
directory: './output'
path: '../'
directory: '.'
path: 'PixelStreamingInfrastructure-${{ github.ref_name }}-${{ steps.getversion.outputs.version }}'
type: 'tar'
filename: '${{ github.ref_name }}-${{ steps.getversion.outputs.version }}.tar.gz'
exclusions: '.git .github output Frontend/Docs Frontend/library/dist Frontend/library/types Frontend/library/node_modules Frontend/implementations/EpicGames/node_modules'

- name: Archive Release tar.gz
- name: Archive Release .zip
uses: thedoctor0/zip-release@0.7.1
with:
directory: './output'
path: '../'
directory: '.'
path: 'PixelStreamingInfrastructure-${{ github.ref_name }}-${{ steps.getversion.outputs.version }}'
type: 'zip'
filename: '${{ github.ref_name }}-${{ steps.getversion.outputs.version }}.zip'
exclusions: '*.git* /*node_modules/* .editorconfig /*types/* /*dist/* /*output/* /*Docs/*'
Expand All @@ -69,5 +69,5 @@ jobs:
uses: ncipollo/release-action@v1
with:
tag: "${{ github.ref_name }}-${{ steps.getversion.outputs.version }}"
artifacts: "output/${{ github.ref_name }}-${{ steps.getversion.outputs.version }}.zip,output/${{ github.ref_name }}-${{ steps.getversion.outputs.version }}.tar.gz"
artifacts: "${{ github.ref_name }}-${{ steps.getversion.outputs.version }}.zip,${{ github.ref_name }}-${{ steps.getversion.outputs.version }}.tar.gz"
generateReleaseNotes: true
2 changes: 1 addition & 1 deletion RELEASE_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.1
0.1.0

0 comments on commit 6f271db

Please sign in to comment.