Skip to content

Commit

Permalink
update CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
snshn committed Jan 14, 2024
1 parent fadd482 commit 8c9533b
Showing 1 changed file with 7 additions and 7 deletions.
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

0 comments on commit 8c9533b

Please sign in to comment.