Skip to content

Commit

Permalink
Fix Java env (#793)
Browse files Browse the repository at this point in the history
Set PACKAGE_VERSION env variable *after* we've downloaded pulumictl and fetched tags.
  • Loading branch information
danielrbradley authored Oct 13, 2022
1 parent 6e747b6 commit ecd2ca5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,6 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Set PACKAGE_VERSION to Env
run: echo "PACKAGE_VERSION=$(pulumictl get version --language generic)" >>
$GITHUB_ENV
- name: Checkout Scripts Repo
uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -321,6 +318,9 @@ jobs:
cache: gradle
distribution: temurin
java-version: 11
- name: Set PACKAGE_VERSION to Env
run: echo "PACKAGE_VERSION=$(pulumictl get version --language generic)" >>
$GITHUB_ENV
- name: Download Java SDK
uses: actions/download-artifact@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Set PACKAGE_VERSION to Env
run: echo "PACKAGE_VERSION=$(pulumictl get version --language generic)" >>
$GITHUB_ENV
- name: Checkout Scripts Repo
uses: actions/checkout@v2
with:
Expand All @@ -242,6 +239,9 @@ jobs:
registry-url: https://registry.npmjs.org
- name: Setup Python
uses: actions/setup-python@v2
- name: Set PACKAGE_VERSION to Env
run: echo "PACKAGE_VERSION=$(pulumictl get version --language generic)" >>
$GITHUB_ENV
- name: Download NodeJS SDK
uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit ecd2ca5

Please sign in to comment.