Skip to content

Commit

Permalink
Pass secrets to build as environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Feb 10, 2024
1 parent d9ea64b commit 1588171
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ jobs:

- name: Build with Maven
run: mvn -B formatter:validate verify --file pom.xml
env:
QUARKUS_DISCORD4J_TOKEN: ${{ secrets.QUARKUS_DISCORD4J_TOKEN }}
QUARKUS_DISCORD4J_GUILD_COMMANDS_TEST_GUILD_ID: ${{ secrets.QUARKUS_DISCORD4J_GUILD_COMMANDS_TEST_GUILD_ID }}
4 changes: 3 additions & 1 deletion .github/workflows/quarkus-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,6 @@ jobs:
- name: Setup and Run Tests
run: ./ecosystem-ci/setup-and-test
env:
ECOSYSTEM_CI_TOKEN: ${{ secrets.ECOSYSTEM_CI_TOKEN }}
ECOSYSTEM_CI_TOKEN: ${{ secrets.ECOSYSTEM_CI_TOKEN }}
QUARKUS_DISCORD4J_TOKEN: ${{ secrets.QUARKUS_DISCORD4J_TOKEN }}
QUARKUS_DISCORD4J_GUILD_COMMANDS_TEST_GUILD_ID: ${{ secrets.QUARKUS_DISCORD4J_GUILD_COMMANDS_TEST_GUILD_ID }}
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
QUARKUS_DISCORD4J_TOKEN: ${{ secrets.QUARKUS_DISCORD4J_TOKEN }}
QUARKUS_DISCORD4J_GUILD_COMMANDS_TEST_GUILD_ID: ${{ secrets.QUARKUS_DISCORD4J_GUILD_COMMANDS_TEST_GUILD_ID }}

- name: Adjust tag for documentation changes
run: |
Expand Down

0 comments on commit 1588171

Please sign in to comment.