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

Update CD workflow #12

Merged
merged 2 commits into from
Jan 14, 2024
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: snshn
14 changes: 7 additions & 7 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
uses: actions/checkout@v2
- name: Build the executable
run: cargo build --release
- uses: Shopify/upload-to-release@1.0.0
- uses: Shopify/upload-to-release@2.0.0
with:
name: dataurl.exe
path: target\release\dataurl.exe
repo-token: ${{ secrets.GITHUB_TOKEN }}

gnu_linux_armhf:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout the repository
uses: actions/checkout@v2
Expand All @@ -47,14 +47,14 @@ jobs:
- name: Build the executable
run: cargo build --release --target=arm-unknown-linux-gnueabihf
- name: Attach artifact to the release
uses: Shopify/upload-to-release@1.0.0
uses: Shopify/upload-to-release@2.0.0
with:
name: dataurl-gnu-linux-armhf
path: target/arm-unknown-linux-gnueabihf/release/dataurl
repo-token: ${{ secrets.GITHUB_TOKEN }}

gnu_linux_aarch64:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout the repository
uses: actions/checkout@v2
Expand All @@ -77,20 +77,20 @@ jobs:
- name: Build the executable
run: cargo build --release --target=aarch64-unknown-linux-gnu
- name: Attach artifact to the release
uses: Shopify/upload-to-release@1.0.0
uses: Shopify/upload-to-release@2.0.0
with:
name: dataurl-gnu-linux-aarch64
path: target/aarch64-unknown-linux-gnu/release/dataurl
repo-token: ${{ secrets.GITHUB_TOKEN }}

gnu_linux_x86_64:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Build the executable
run: cargo build --release
- uses: Shopify/upload-to-release@1.0.0
- uses: Shopify/upload-to-release@2.0.0
with:
name: dataurl-gnu-linux-x86_64
path: target/release/dataurl
Expand Down
Loading