Skip to content

Commit

Permalink
Try fix gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit committed Jan 13, 2023
1 parent d80b1b4 commit 8c4f744
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/cd.yml
Expand Up @@ -3,7 +3,7 @@ name: Continuous Deployment
on:
push:
tags:
- 'v*.*.*'
- "v*.*.*"
workflow_dispatch:

jobs:
Expand All @@ -18,23 +18,22 @@ jobs:
- ubuntu-20.04
rust: [stable]
include:

# See the list: https://github.com/cross-rs/cross

- os: macos-latest
artifact_prefix: macos
target: x86_64-apple-darwin
binary_postfix: ''
binary_postfix: ""

- os: ubuntu-latest
artifact_prefix: linux
target: x86_64-unknown-linux-gnu
binary_postfix: ''
binary_postfix: ""

- os: ubuntu-20.04
artifact_prefix: linux-musl
target: x86_64-unknown-linux-musl
binary_postfix: ''
binary_postfix: ""

# Will see later

Expand Down Expand Up @@ -65,7 +64,7 @@ jobs:
- name: Installing needed Ubuntu dependencies
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get update --fix-missing
sudo apt-get install -y -qq pkg-config libssl-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
- name: Checking out sources
Expand Down Expand Up @@ -142,7 +141,7 @@ jobs:
override: true

- run: |
sudo apt-get update
sudo apt-get update --fix-missing
sudo apt-get install -y -qq pkg-config libssl-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
- uses: actions-rs/cargo@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -35,15 +35,15 @@ jobs:
- os: macos-latest
artifact_prefix: macos
target: x86_64-apple-darwin
binary_postfix: ''
binary_postfix: ""
- os: ubuntu-latest
artifact_prefix: linux
target: x86_64-unknown-linux-gnu
binary_postfix: ''
binary_postfix: ""
- os: ubuntu-20.04
artifact_prefix: linux-musl
target: x86_64-unknown-linux-musl
binary_postfix: ''
binary_postfix: ""

env:
RUST_BACKTRACE: full
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Installing needed Ubuntu dependencies
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get update --fix-missing
sudo apt-get install -y -qq pkg-config libssl-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
- name: Build
Expand Down

0 comments on commit 8c4f744

Please sign in to comment.