Skip to content

Commit

Permalink
ci: Fix ci errors & warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Mar 7, 2023
1 parent 899d923 commit 3bfa96f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: PROD - Prepare GitHub release
id: create_prod_release
uses: GoogleCloudPlatform/release-please-action@v2
uses: GoogleCloudPlatform/release-please-action@v3
if: github.ref == 'refs/heads/main'
with:
command: github-release
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Compress native fcli
uses: svenstaro/upx-action@v2
with:
file: fcli
files: fcli

- name: Basic test of native fcli
run: ./fcli --help && ./fcli get --help
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
- name: Compress native fcli
uses: svenstaro/upx-action@v2
with:
file: fcli
files: fcli

- name: Basic test of native fcli
run: ./fcli --help && ./fcli get --help
Expand All @@ -179,7 +179,6 @@ jobs:
version: ${{ env.graal_version }}
java-version: ${{ env.graal_java_version }}
components: 'native-image'
native-image-musl: true
github-token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/download-artifact@v3
Expand All @@ -200,7 +199,7 @@ jobs:
# - name: Compress native fcli
# uses: svenstaro/upx-action@v2
# with:
# file: fcli.exe
# files: fcli.exe

- name: Basic test of native fcli
run: |
Expand Down Expand Up @@ -233,7 +232,7 @@ jobs:

- name: PROD - Prepare release PR
if: github.ref == 'refs/heads/main'
uses: GoogleCloudPlatform/release-please-action@v2
uses: GoogleCloudPlatform/release-please-action@v3
with:
command: release-pr
release-type: simple
Expand Down Expand Up @@ -288,7 +287,7 @@ jobs:
# Extract top-level documentation resources
# TODO Should we do this only when building a release, or also for dev_main,
# or for all (dev & release) versions like we do now?
unzip artifact/docs-gh-pages.zip -d "docs"
unzip -o artifact/docs-gh-pages.zip -d "docs"
# Define the output directory, based on tag/branch name
versionDir=docs/${{ needs.build.outputs.release_tag }}
Expand All @@ -297,7 +296,7 @@ jobs:
# while leaving documentation for other tags/branches intact (as checked out above)
rm -rf "${versionDir}"
mkdir -p "${versionDir}"
unzip artifact/docs-html.zip -d "${versionDir}"
unzip artifact/docs-jekyll.zip -d "${versionDir}"
# Recreate version data files, which may be empty if no versions available
cd docs
Expand Down

0 comments on commit 3bfa96f

Please sign in to comment.