Skip to content

Commit

Permalink
chore: building the image on an older ubuntu for better support (glib…
Browse files Browse the repository at this point in the history
…c issues)
  • Loading branch information
ElhamAryanpur committed Dec 29, 2024
1 parent 8be8431 commit f8b8953
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
- os: ubuntu-20.04
artifact_name: astra
asset_name: astra-linux-amd64

name: release ${{ matrix.os }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
environment: production

env:
Expand All @@ -39,9 +39,6 @@ jobs:
./target/
key: ${{ env.cache-key }}

- name: Build Server
run: cargo build --release

- name: Clear cache
continue-on-error: true # Don't fail if the cache doesn't exist
env:
Expand All @@ -50,6 +47,9 @@ jobs:
gh extension install actions/gh-actions-cache
gh actions-cache delete "${{ env.cache-key }}" --confirm
- name: Build Server
run: cargo build --release

- name: Upload server binary to release
uses: svenstaro/upload-release-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ pack_lua:

# use this syntax: just release_tag="0.0.0" range="start..end" update-changelog
update-changelog:
@git cliff --unreleased --prepend CHANGELOG.md
@git cliff --unreleased --tag="$(TAG)" --prepend CHANGELOG.md

0 comments on commit f8b8953

Please # to comment.