Skip to content

Commit

Permalink
Update build-factory.yml (#1042)
Browse files Browse the repository at this point in the history
Update actions for version 4 of Github Actions Artifacts.
  • Loading branch information
steel97 authored Aug 7, 2024
1 parent 2780ca8 commit 35a1473
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions .github/workflows/build-factory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
ARTIFACT_DIR: source
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
# Needs qt and protobuf to configure qt and include veil-qt.1 in distribution
- name: Install Required Packages
run: |
Expand All @@ -33,7 +33,7 @@ jobs:
mkdir -p $ARTIFACT_DIR
mv depends.tar.gz veil-*.tar.gz $ARTIFACT_DIR
- name: Upload Artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ${{ env.SOURCE_ARTIFACT }}
path: ${{ env.ARTIFACT_DIR }}
Expand All @@ -46,9 +46,10 @@ jobs:
TEST_LOG_ARTIFACT_DIR: test-logs
steps:
- name: Getting Source
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: ${{ env.SOURCE_ARTIFACT }}
path: ${{ env.SOURCE_ARTIFACT }}
- name: Extract Archives
run: |
tar -xzf depends.tar.gz
Expand All @@ -72,7 +73,7 @@ jobs:
strip $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild,qt/veil-qt}
mv $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild,qt/veil-qt} $ARTIFACT_DIR
- name: Upload Artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_DIR }}
path: ${{ env.ARTIFACT_DIR }}
Expand All @@ -84,9 +85,10 @@ jobs:
ARTIFACT_DIR: win64-binaries
steps:
- name: Getting Source
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: ${{ env.SOURCE_ARTIFACT }}
path: ${{ env.SOURCE_ARTIFACT }}
- name: Extract Archives
run: |
tar -xzf depends.tar.gz
Expand Down Expand Up @@ -114,7 +116,7 @@ jobs:
strip $SOURCE_ARTIFACT/src/{veil-cli.exe,veil-tx.exe,veild.exe,qt/veil-qt.exe}
mv $SOURCE_ARTIFACT/src/{veil-cli.exe,veil-tx.exe,veild.exe,qt/veil-qt.exe} $ARTIFACT_DIR
- name: Upload Artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_DIR }}
path: ${{ env.ARTIFACT_DIR }}
Expand All @@ -126,9 +128,10 @@ jobs:
ARTIFACT_DIR: macosx-binaries
steps:
- name: Getting Source
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: ${{ env.SOURCE_ARTIFACT }}
path: ${{ env.SOURCE_ARTIFACT }}
- name: Extract Archives
run: |
tar -xzf depends.tar.gz
Expand Down Expand Up @@ -161,7 +164,7 @@ jobs:
#strip $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild,qt/veil-qt}
mv $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild,qt/veil-qt} $ARTIFACT_DIR
- name: Upload Artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_DIR }}
path: ${{ env.ARTIFACT_DIR }}
Expand All @@ -173,9 +176,10 @@ jobs:
ARTIFACT_DIR: aarch64-linux-binaries
steps:
- name: Getting Source
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: ${{ env.SOURCE_ARTIFACT }}
path: ${{ env.SOURCE_ARTIFACT }}
- name: Extract Archives
run: |
tar -xzf depends.tar.gz
Expand All @@ -200,7 +204,7 @@ jobs:
# strip $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild,qt/veil-qt}
mv $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild,qt/veil-qt} $ARTIFACT_DIR
- name: Upload Artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_DIR }}
path: ${{ env.ARTIFACT_DIR }}
Expand All @@ -212,9 +216,10 @@ jobs:
ARTIFACT_DIR: arm32-binaries
steps:
- name: Getting Source
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: ${{ env.SOURCE_ARTIFACT }}
path: ${{ env.SOURCE_ARTIFACT }}
- name: Extract Archives
run: |
tar -xzf depends.tar.gz
Expand All @@ -239,7 +244,7 @@ jobs:
# strip $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild,qt/veil-qt}
mv $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild,qt/veil-qt} $ARTIFACT_DIR
- name: Upload Artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_DIR }}
path: ${{ env.ARTIFACT_DIR }}
Expand All @@ -251,9 +256,10 @@ jobs:
ARTIFACT_DIR: i686-linux32-binaries
steps:
- name: Getting Source
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: ${{ env.SOURCE_ARTIFACT }}
path: ${{ env.SOURCE_ARTIFACT }}
- name: Extract Archives
run: |
tar -xzf depends.tar.gz
Expand All @@ -277,7 +283,7 @@ jobs:
strip $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild,qt/veil-qt}
mv $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild,qt/veil-qt} $ARTIFACT_DIR
- name: Upload Artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_DIR }}
path: ${{ env.ARTIFACT_DIR }}
Expand All @@ -289,9 +295,10 @@ jobs:
ARTIFACT_DIR: riscv64-linux-binaries
steps:
- name: Getting Source
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: ${{ env.SOURCE_ARTIFACT }}
path: ${{ env.SOURCE_ARTIFACT }}
- name: Extract Archives
run: |
tar -xzf depends.tar.gz
Expand All @@ -316,7 +323,7 @@ jobs:
# strip $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild}
mv $SOURCE_ARTIFACT/src/{veil-cli,veil-tx,veild} $ARTIFACT_DIR
- name: Upload Artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_DIR }}
path: ${{ env.ARTIFACT_DIR }}

0 comments on commit 35a1473

Please sign in to comment.