Skip to content

Commit

Permalink
use GITHUB_OUTPUT instead of GITHUB_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Oct 11, 2024
1 parent 2df2fb5 commit 8d9aa76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- run: echo "UPLOADED_VERSION=$(hatch version)" >> $GITHUB_ENV
- id: version
run: echo "version=$(hatch version)" >> $GITHUB_OUTPUT
working-directory: ./${{ inputs.package }}
- uses: nick-fields/retry@v3
with:
timeout_seconds: 10
retry_wait_seconds: 10
max_attempts: 15 # 5 minutes: (10s timeout + 10s delay) * 15 attempts
command: wget ${{ vars.PYPI_PROJECT_URL }}/${{ inputs.package }}/$UPLOADED_VERSION/
command: wget ${{ vars.PYPI_PROJECT_URL }}/${{ inputs.package }}/${{ steps.version.outputs.version }}
4 changes: 2 additions & 2 deletions dbt-athena-community/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
# these versions should always match and they both should match the local version of dbt-athena
dependencies = ["dbt-athena==1.8.5b2"]
version = "1.8.5b2"
dependencies = ["dbt-athena==1.8.5b3"]
version = "1.8.5b3"
[project.urls]
Homepage = "https://github.com/dbt-labs/dbt-athena/dbt-athena"
Documentation = "https://docs.getdbt.com"
Expand Down
2 changes: 1 addition & 1 deletion dbt-athena/src/dbt/adapters/athena/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.8.5b2"
version = "1.8.5b3"

0 comments on commit 8d9aa76

Please sign in to comment.