mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-04-19 08:51:03 +00:00
CI: checkout repo in bundle job
This commit is contained in:
parent
bd265d0548
commit
756fa10555
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -79,25 +79,16 @@ jobs:
|
|||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
||||||
- name: Place all tarballs in the same directory
|
- name: Place all tarballs in the same directory
|
||||||
run: |
|
run: build/ci_bundle.sh
|
||||||
node ./build/version_to_file.js
|
|
||||||
version=$(<./build/version.txt)
|
|
||||||
|
|
||||||
mkdir bundle
|
|
||||||
|
|
||||||
# macOS binaries
|
|
||||||
mv artifacts/*/rolens-macos-11-amd64.tar.gz bundle/rolens-$version-macos-amd64.tar.gz
|
|
||||||
mv artifacts/*/rolens-macos-11-arm64.tar.gz bundle/rolens-$version-macos-arm64.tar.gz
|
|
||||||
|
|
||||||
# Windows binaries
|
|
||||||
mv artifacts/*/rolens-windows-2019-amd64.zip bundle/rolens-$version-windows-amd64.zip
|
|
||||||
mv artifacts/*/rolens-windows-2019-arm64.zip bundle/rolens-$version-windows-arm64.zip
|
|
||||||
|
|
||||||
- name: Upload the bundle as an artifact
|
- name: Upload the bundle as an artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user