Skip to content

Commit

Permalink
chore: update all action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
aeweda committed Jul 10, 2024
1 parent 3b0dd00 commit e4a2157
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-helper/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ runs:
run: docker build -t witnet-rust/${{ inputs.imagename }}:latest -f ./docker/cross-compilation/${{ inputs.imagename }}/Dockerfile ./docker/cross-compilation/

- name: Upload image
uses: ishworkh/docker-image-artifact-upload@v1
uses: ishworkh/container-image-artifact-upload@v1.1.1
with:
image: "witnet-rust/${{ inputs.imagename }}:latest"
2 changes: 1 addition & 1 deletion .github/actions/build-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
steps:
# Download Helper Image built in the previous jobs
- name: Downloading helper Image
uses: ishworkh/docker-image-artifact-download@v1
uses: ishworkh/container-image-artifact-upload@v1.1.1
with:
image: "witnet-rust/${{ inputs.target }}:latest"

Expand Down
10 changes: 5 additions & 5 deletions .github/actions/download-releases/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
# Download & Hash Releases
# Macos
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: macos-release
path: all-releases/macos/
Expand All @@ -29,7 +29,7 @@ runs:
mv all-releases/macos/witnet_toolkit release/witnet_toolkit-x86_64-apple-darwin
# Windows
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: windows-release
path: all-releases/windows/
Expand All @@ -41,7 +41,7 @@ runs:
mv all-releases/windows/witnet_toolkit.exe release/witnet_toolkit-x86_64-pc-windows-msvc.exe
# x86_64
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: x86_64-release
path: all-releases/x86_64/
Expand All @@ -53,7 +53,7 @@ runs:
mv all-releases/x86_64/witnet_toolkit release/witnet_toolkit-x86_64-unknown-linux-gnu
# armv7
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: armv7-release
path: all-releases/armv7/
Expand All @@ -65,7 +65,7 @@ runs:
mv all-releases/armv7/witnet_toolkit release/witnet_toolkit-armv7-unknown-linux-gnueabihf
# aarch64
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: aarch64-release
path: all-releases/aarch64/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
environment: tags
if: ${{ github.event.workflow_run.conclusion == 'success' || inputs.force }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Protobuf
run: |
Expand All @@ -44,7 +44,7 @@ jobs:
docker image ls
- name: Login to Docker hub Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
aarch64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/build-helper
name: Building Docker Image
with:
Expand All @@ -23,7 +23,7 @@ jobs:
armv7:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/build-helper
name: Building Docker Image
with:
Expand All @@ -32,7 +32,7 @@ jobs:
x86_64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/build-helper
name: Building Docker Image
with:
Expand All @@ -59,7 +59,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checkout Repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Download Images & Build Binary
- uses: ./.github/actions/build-linux
Expand All @@ -68,7 +68,7 @@ jobs:
target: aarch64-unknown-linux-gnu

# Upload Build Releases
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: aarch64-release
path: |
Expand All @@ -80,7 +80,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checkout Repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Download Images & Build Binary
- uses: ./.github/actions/build-linux
Expand All @@ -89,7 +89,7 @@ jobs:
target: armv7-unknown-linux-gnueabihf

# Upload Build Releases
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: armv7-release
path: |
Expand All @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checkout Repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Download Images & Build Binary
- uses: ./.github/actions/build-linux
Expand All @@ -110,7 +110,7 @@ jobs:
target: x86_64-unknown-linux-gnu

# Upload Build Releases
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: x86_64-release
path: |
Expand All @@ -123,7 +123,7 @@ jobs:
runs-on: macos-latest
steps:
# Checkout Repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Install Protobuf
- name: Install Protobuf
Expand All @@ -134,7 +134,7 @@ jobs:
run: MACOSX_DEPLOYMENT_TARGET=10.14 OPENSSL_STATIC=1 OPENSSL_DIR="/usr/local/opt/openssl" cargo build --release -p witnet -p witnet_toolkit

# Upload Build Releases
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: macos-release
path: |
Expand All @@ -147,7 +147,7 @@ jobs:
runs-on: windows-latest
steps:
# Checkout Repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Install Protobuf
- name: Install Protobuf
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
run: LDD.exe target\release\witnet.exe | Select-String -Pattern "ssl"

# Upload Build Releases
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: windows-release
path: |
Expand All @@ -194,7 +194,7 @@ jobs:
environment: tags
steps:
# Checkout Repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Download Releases
- uses: ./.github/actions/download-releases
Expand All @@ -203,7 +203,7 @@ jobs:
# Import GPG Key
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
Expand All @@ -223,7 +223,7 @@ jobs:
gpg --output SHA256SUMS.asc --default-key [email protected] --detach-sig --clearsign SHA256SUMS && rm SHA256SUMS
# Artifact Final Release Files
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: final-release
path: release/
Expand All @@ -235,10 +235,10 @@ jobs:
contents: write
steps:
# Checkout Repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Download Release Files
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: final-release
path: release/
Expand All @@ -262,10 +262,10 @@ jobs:
environment: tags
steps:
# Checkout Repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Login to Docker Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down

0 comments on commit e4a2157

Please sign in to comment.