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

Feat: Update deploy to use depot.dev #2

Merged
merged 2 commits into from
Apr 24, 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
16 changes: 8 additions & 8 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
build-linux:
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-32
strategy:
matrix:
target:
Expand Down Expand Up @@ -149,9 +149,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Restore ccache
uses: buildjet/cache/restore@v4
uses: actions/cache/restore@v4
with:
path: |
${{ runner.temp }}/${{ matrix.target.id }}/.cache/ccache
Expand All @@ -166,19 +166,19 @@ jobs:
- name: Fix permissions for output
run: sudo chown -R $USER .
- name: Save ccache
uses: buildjet/cache/save@v4
uses: actions/cache/save@v4
with:
path: |
${{ runner.temp }}/${{ matrix.target.id }}/.cache/ccache
key: ccache-${{ matrix.target.id }}
- name: Upload output
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.target.id }}
path: ${{ matrix.target.dst }}

publish-linux:
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: depot-ubuntu-22.04-32
needs: build-linux
if: ${{ github.ref == 'refs/heads/master' }}
environment:
Expand All @@ -187,9 +187,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Download output
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: ${{ runner.temp }}/out
- name: Isolate the repositories
Expand Down
Loading