mirror of
https://github.com/apognu/tuigreet.git
synced 2024-09-11 15:38:04 +03:00
Updating CI actions.
This commit is contained in:
parent
1cf1d1795a
commit
2b6d06545d
9
.github/workflows/dev.yml
vendored
9
.github/workflows/dev.yml
vendored
@ -37,12 +37,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
arch:
|
||||
- {
|
||||
name: "x86_64",
|
||||
os: "ubuntu-latest",
|
||||
target: "x86_64-unknown-linux-gnu",
|
||||
cross: false,
|
||||
}
|
||||
- { name: "x86_64", os: "ubuntu-latest", target: "x86_64-unknown-linux-gnu", cross: false }
|
||||
runs-on: ${{ matrix.arch.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -56,7 +51,7 @@ jobs:
|
||||
- name: Rename artifact
|
||||
run: mv target/${{ matrix.arch.target }}/release/tuigreet target/${{ matrix.arch.target }}/release/tuigreet-dev-${{ matrix.arch.name }}
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: tuigreet-dev-${{ matrix.arch.name }}
|
||||
path: target/${{ matrix.arch.target }}/release/tuigreet-dev-${{ matrix.arch.name }}
|
||||
|
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -37,12 +37,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
arch:
|
||||
- {
|
||||
name: "x86_64",
|
||||
os: "ubuntu-latest",
|
||||
target: "x86_64-unknown-linux-gnu",
|
||||
cross: false,
|
||||
}
|
||||
- { name: "x86_64", os: "ubuntu-latest", target: "x86_64-unknown-linux-gnu", cross: false }
|
||||
runs-on: ${{ matrix.arch.os }}
|
||||
steps:
|
||||
- name: Get the version
|
||||
@ -60,7 +55,7 @@ jobs:
|
||||
- name: Rename artifact
|
||||
run: mv target/${{ matrix.arch.target }}/release/tuigreet target/${{ matrix.arch.target }}/release/tuigreet-${{ steps.version.outputs.VERSION }}-${{ matrix.arch.name }}
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: tuigreet-${{ steps.version.outputs.VERSION }}-${{ matrix.arch.name }}
|
||||
path: target/${{ matrix.arch.target }}/release/tuigreet-${{ steps.version.outputs.VERSION }}-${{ matrix.arch.name }}
|
||||
@ -73,7 +68,7 @@ jobs:
|
||||
id: version
|
||||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: target/out
|
||||
- name: Create release
|
||||
|
11
.github/workflows/tip.yml
vendored
11
.github/workflows/tip.yml
vendored
@ -37,12 +37,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
arch:
|
||||
- {
|
||||
name: "x86_64",
|
||||
os: "ubuntu-latest",
|
||||
target: "x86_64-unknown-linux-gnu",
|
||||
cross: false,
|
||||
}
|
||||
- { name: "x86_64", os: "ubuntu-latest", target: "x86_64-unknown-linux-gnu", cross: false }
|
||||
runs-on: ${{ matrix.arch.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -56,7 +51,7 @@ jobs:
|
||||
- name: Rename artifact
|
||||
run: mv target/${{ matrix.arch.target }}/release/tuigreet target/${{ matrix.arch.target }}/release/tuigreet-dev-${{ matrix.arch.name }}
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: tuigreet-dev-${{ matrix.arch.name }}
|
||||
path: target/${{ matrix.arch.target }}/release/tuigreet-dev-${{ matrix.arch.name }}
|
||||
@ -66,7 +61,7 @@ jobs:
|
||||
needs: build
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: target/out
|
||||
- name: Create release
|
||||
|
Loading…
Reference in New Issue
Block a user