Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update package procedure #432

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading