Skip to content

Commit

Permalink
Merge pull request #44 from belettee/update-workflow
Browse files Browse the repository at this point in the history
update release workflow
  • Loading branch information
devbence committed Apr 22, 2024
2 parents f3bec7a + dd3e078 commit 6248ecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if: github.event_name != 'workflow_dispatch'

- name: Compress SITCoop folder
run: zip -r SITCoop.zip ./dist/SITCoop
run: cd dist && zip -r ../SITCoop.zip ./SITCoop
if: github.event_name == 'workflow_dispatch'

- name: Create release
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
steps:
- name: Checkout SIT-Server-Mod Branch
uses: actions/checkout@v4
with:
ref: 'master'

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -31,7 +29,7 @@ jobs:
id: build
shell: pwsh
run: |
./package_release_with_server.ps1 -Overwrite -Branch "3.8.0" -SITCoopVer ${{ steps.read_package_json.outputs.version }}
./package_release_with_server.ps1 -Overwrite -Branch "3.9.0-DEV" -SITCoopVer ${{ steps.read_package_json.outputs.version }}
echo "ZIP_NAME=$(Get-Content "$env:GITHUB_OUTPUT" | Select-String -Pattern "^ZIP_NAME=").Value.Split('=')[1]" >> $GITHUB_ENV
echo "COMMIT_SHORT=$(Get-Content "$env:GITHUB_OUTPUT" | Select-String -Pattern "^CommitShort=").Value.Split('=')[1]" >> $GITHUB_ENV
echo "AKI_VERSION=$(Get-Content "$env:GITHUB_OUTPUT" | Select-String -Pattern "^AKI_VERSION=").Value.Split('=')[1]" >> $GITHUB_ENV
Expand Down

0 comments on commit 6248ecd

Please sign in to comment.