Skip to content

Commit

Permalink
Upgrade GitHub Action to latest versions
Browse files Browse the repository at this point in the history
Some versions of the GitHub Actions are deprecated and getting removed.
Upgrading all actions to the latest versions.
  • Loading branch information
thschmitt committed Oct 8, 2024
1 parent 44763df commit fb993ee
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
CGO_ENABLED: "0"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.22.2'
cache: true
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Package
run: ./build.sh && ./package.sh
- name: Upload packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: packages
path: build/packages/
Expand All @@ -55,13 +55,13 @@ jobs:
permissions:
pages: write
id-token: write
if: github.ref == 'refs/heads/main'
# if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: packages
path: build/packages/
Expand All @@ -70,13 +70,13 @@ jobs:
tar -xzvf build/packages/uipathcli-linux-amd64.tar.gz
./uipath commands show > documentation/commands.json
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: 'documentation'
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

release:
needs: build
Expand All @@ -86,9 +86,9 @@ jobs:
UIPATHCLI_VERSION: ${{ needs.build.outputs.UIPATHCLI_VERSION }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: packages
path: build/packages/
Expand Down

0 comments on commit fb993ee

Please sign in to comment.