Skip to content

Commit

Permalink
update package procedure (#432)
Browse files Browse the repository at this point in the history
* update package procedure

* remove test pack stage
  • Loading branch information
mabiede authored Sep 11, 2024
1 parent ebf99ed commit 2fe90b3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: add commit SHA for non-production builds
if: github.ref_type != 'tag'
Expand Down Expand Up @@ -62,12 +62,12 @@ jobs:
# Restore directory permissions to avoid conflicts
sudo chown -R 1001:123 .
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: run.exe
path: _build/default/pool/run/run.exe

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: tests
Expand All @@ -88,7 +88,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: install yarn packages
run: yarn install
Expand All @@ -99,7 +99,7 @@ jobs:
- name: move all assets to one folder
run: '[ "$(ls pool/public)" ] && cp -r pool/public/* public || exit 0'

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: assets
path: public
Expand All @@ -117,7 +117,7 @@ jobs:
if: github.ref_name == 'main'
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Trigger deploy
uses: ./.github/actions/trigger-deploy
Expand All @@ -132,10 +132,10 @@ jobs:
if: github.ref_type == 'tag'
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download all workflow run artifacts
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4

- name: Extract version changelog
run: sed -nr "/^## .?v?${GITHUB_REF_NAME}/,/^## /p" CHANGELOG.md | sed '1d;2d;$d' > changes.md
Expand All @@ -146,7 +146,7 @@ jobs:
tar -zcf executable.tar.gz run.exe/run.exe
- name: Create release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
body_path: changes.md
Expand All @@ -166,7 +166,7 @@ jobs:
needs: release
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Trigger deploy
uses: ./.github/actions/trigger-deploy
Expand Down

0 comments on commit 2fe90b3

Please sign in to comment.