Skip to content

Commit

Permalink
Remove ref name from assets
Browse files Browse the repository at this point in the history
  • Loading branch information
NeKzor committed Feb 4, 2024
1 parent 55f7dca commit 5584d3e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
- name: Create archives
run: |
7z a cmm-${{ github.ref_name }}-linux.zip ${{ github.workspace }}/cmm
7z a cmm-${{ github.ref_name }}-windows.zip ${{ github.workspace }}/cmm.exe
7z a cmm-linux.zip ${{ github.workspace }}/cmm
7z a cmm-windows.zip ${{ github.workspace }}/cmm.exe
pushd mods/portal_stories
7z a cmm-${{ github.ref_name }}-portal_stories.zip -x'!resource' -x'!scripts'
7z a cmm-portal_stories.zip -x'!resource' -x'!scripts'
popd
- name: Create release
Expand All @@ -54,12 +54,12 @@ jobs:
prerelease: ${{ contains(github.ref, 'pre') }}
body: |
Challenge Mode Mod Installer.
Windows: [Download cmm-${{ github.ref_name }}-windows.zip](https://github.com/NeKzor/cmm/releases/download/${{ github.ref_name }}/cmm-${{ github.ref_name }}-windows.zip)
Linux: [Download cmm-${{ github.ref_name }}-linux.zip](https://github.com/NeKzor/cmm/releases/download/${{ github.ref_name }}/cmm-${{ github.ref_name }}-linux.zip)
Windows: [Download cmm-windows.zip](https://github.com/NeKzor/cmm/releases/download/${{ github.ref_name }}/cmm-windows.zip)
Linux: [Download cmm-linux.zip](https://github.com/NeKzor/cmm/releases/download/${{ github.ref_name }}/cmm-linux.zip)
Usage:
- Run the installer from anywhere. Required files will be dowloaded automatically.
files: |
cmm-${{ github.ref_name }}-windows.zip
cmm-${{ github.ref_name }}-linux.zip
mods/portal_stories/cmm-${{ github.ref_name }}-portal_stories.zip
cmm-linux.zip
cmm-windows.zip
mods/portal_stories/cmm-portal_stories.zip

0 comments on commit 5584d3e

Please sign in to comment.