Skip to content

Commit

Permalink
Removed nightly dependencies (#38)
Browse files Browse the repository at this point in the history
* Removed nightly dependencies

Signed-off-by: danbugs <[email protected]>

* fixing CI

Signed-off-by: danbugs <[email protected]>

* small CI change

Signed-off-by: danbugs <[email protected]>

---------

Signed-off-by: danbugs <[email protected]>
  • Loading branch information
danbugs authored Dec 25, 2023
1 parent 72da16b commit c4d7180
Show file tree
Hide file tree
Showing 6 changed files with 305 additions and 334 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,19 @@ jobs:

- name: Build
run: cargo build --release --target ${{ matrix.target }}
env:
SERVER_ADDRESS: 'http://127.0.0.1:8080'

- name: Upload artifact
- if: matrix.os == 'ubuntu-latest'
name: Upload smithe artifact
uses: actions/upload-artifact@v2
with:
name: my-binary-${{ matrix.target }}
path: target/${{ matrix.target }}/release/my-binary
name: smithe-${{ matrix.target }}
path: target/${{ matrix.target }}/release/smithe

- if: matrix.os == 'ubuntu-latest'
name: Upload pidgtm artifact
uses: actions/upload-artifact@v2
with:
name: pidgtm-${{ matrix.target }}
path: target/${{ matrix.target }}/release/pidgtm
13 changes: 4 additions & 9 deletions .github/workflows/docker-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
name: Docker Deployment

on:
workflow_run:
workflows: ["CI"]
types:
- completed
push:
branches:
- main

jobs:
docker-deploy:
runs-on: ubuntu-latest
if: >
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == 'main' &&
github.event.workflow_run.event == 'push'
steps:
- uses: actions/checkout@v2

- name: Download artifact
uses: actions/download-artifact@v2
with:
name: my-binary-x86_64-unknown-linux-gnu
name: pidgtm-x86_64-unknown-linux-gnu

- name: Build Docker image
run: |
Expand Down
Loading

0 comments on commit c4d7180

Please sign in to comment.