Skip to content

Commit

Permalink
Migrate to Ubuntu 20.04 worker.
Browse files Browse the repository at this point in the history
  • Loading branch information
vldr committed Aug 5, 2023
1 parent 9411cdd commit ce707d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: ["master"]
tags:
- '*'
- "*"

permissions:
contents: write
Expand All @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-20.04
artifact_name: relay
asset_name: relay-linux-amd64
- os: windows-latest
Expand All @@ -33,18 +33,18 @@ jobs:
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable

- name: Build
run: cargo build --release

- name: Test
run: cargo test

- name: Publish
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }}
overwrite: true
overwrite: true

0 comments on commit ce707d7

Please sign in to comment.